# Script Output on Dynatrace

**URL:** <https://community.dynatrace.com/t/script-output-on-dynatrace/19413>\
**Category:** Dashboarding\
**Tags:** databases, oneagent, dashboards-classic\
**Created:** [February 5, 2019, 8:47am UTC](https://community.dynatrace.com/t/script-output-on-dynatrace/19413 "2019-02-05T08:47:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amarpreet\_sawhn](https://avatars.discourse-cdn.com/v4/letter/a/8797f3/32.png) [@amarpreet\_sawhn](https://community.dynatrace.com/u/amarpreet_sawhn)\
**Post date:** [February 5, 2019, 8:47am UTC](https://community.dynatrace.com/t/script-output-on-dynatrace/19413/1 "2019-02-05T08:47:18Z")

</div>

Hi,

I have a script which is executed on the DB and the output is exported to an excel file and then gets emailed to us. Is there a way to send teh output of that script directly to Dynatrace managed. Like creating a dashboard and it outputs the results on a tile.

Thanks,

Amarpreet

---

<div class="post-metadata">

**Author:** ![skrystosik](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/skrystosik/32/21133_2.png) [@skrystosik](https://community.dynatrace.com/u/skrystosik)\
**Post date:** [February 5, 2019, 8:52am UTC](https://community.dynatrace.com/t/script-output-on-dynatrace/19413/2 "2019-02-05T08:52:45Z")

</div>

Hello, you have to send it to dynatrace as custom measures (not xls file, you have to prepare proper json payload and send it over API).

[https://www.dynatrace.com/support/help/dynatrace-a…](https://www.dynatrace.com/support/help/dynatrace-api/environment/timeseries-api/manage-custom-metrics-via-api/)

Then you should be able to chart them.

Sebastian
