# How to ingest alphanumerical values and display on dashboard

**URL:** <https://community.dynatrace.com/t/how-to-ingest-alphanumerical-values-and-display-on-dashboard/41854>\
**Category:** Dashboarding\
**Tags:** dynatrace-managed, dashboards\
**Created:** [September 29, 2023, 11:32am UTC](https://community.dynatrace.com/t/how-to-ingest-alphanumerical-values-and-display-on-dashboard/41854 "2023-09-29T11:32:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![freudi](https://avatars.discourse-cdn.com/v4/letter/f/3e96dc/32.png) [@freudi](https://community.dynatrace.com/u/freudi)\
**Post date:** [September 29, 2023, 11:32am UTC](https://community.dynatrace.com/t/how-to-ingest-alphanumerical-values-and-display-on-dashboard/41854/1 "2023-09-29T11:32:52Z")

</div>

Hey there,

I’am just stepping into the depths of Dynatrace and now I got a problem:

How to ingest alphanumerical values into Dynatrace and display them on the dashboard?

1. this works because the value is numerical

/opt/dynatrace/oneagent/agent/tools/dynatrace\_ingest “anz\_bla.count `ls -ltr /tmp/anz/bla* | wc -l`”

This script counts files in /tmp/anz/. With this metric (anz.bla.count.gauge) I can use nearly any tile I want.

2. that doesn’t work, because of the string value

/opt/dynatrace/oneagent/agent/tools/dynatrace\_ingest “timestamp\_host `date`”

There is no reaction in Dynatrace.

Now my questions:

How can I ingest alphanumerical values? date is only an example.

How can I display alphanumerical values in dashboards? Table, Textbox, or something else. Graph, I assume, would not work ;-). The workaround with writing a log file should work, but I cannot test this in my sandbox.

Is there a way to manipulate values when they come in? I.E. Value comes in → Script changes input “OK” to 1 → manipulated value is being used by Dynatrace.

Thanks a lot in advance.

Martin

---

<div class="post-metadata">

**Author:** ![nickvogt](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nickvogt/32/22782_2.png) [@nickvogt](https://community.dynatrace.com/u/nickvogt)\
**Post date:** [October 2, 2023, 8:05am UTC](https://community.dynatrace.com/t/how-to-ingest-alphanumerical-values-and-display-on-dashboard/41854/2 "2023-10-02T08:05:20Z")

</div>

Hi [@freudi](https://community.dynatrace.com/user/60466),

It sounds like you want to ingest dimensions with your metric. Something like a status code “OK” would make sense here. But a timestamp here would not make sense, as it would increase the number of unique dimension key-value combinations and likely cause you to run into [dimensionality limits](https://www.dynatrace.com/support/help/extend-dynatrace/opentelemetry/getting-started/metrics/limitations).

The agent accepts data according to the [metric ingest protocol](https://www.dynatrace.com/support/help/extend-dynatrace/extend-metrics/reference/metric-ingestion-protocol). Adding a status code dimension may look like this:

```c
/opt/dynatrace/oneagent/agent/tools/dynatrace_ingest "my.http.status.metric,status=${status} ${value}"

```

I hope this helps answer your question.

Take care,  
Nick

---

<div class="post-metadata">

**Author:** ![unni007](https://avatars.discourse-cdn.com/v4/letter/u/b38774/32.png) [@unni007](https://community.dynatrace.com/u/unni007)\
**Post date:** [March 7, 2024, 4:46pm UTC](https://community.dynatrace.com/t/how-to-ingest-alphanumerical-values-and-display-on-dashboard/41854/3 "2024-03-07T16:46:38Z")

</div>

HI&nbsp;[@nickvogt](https://community.dynatrace.com/user/43772)

Well, Its works, but i need few more information’s in my problems.  
I want to see the host name and port number details as well in my problem ticket created.&nbsp;  
/opt/dynatrace/oneagent/agent/tools/dynatrace\_ingest concurrent.connection.small.metric

However I would like to pass few variable like hostname port number to see these details in Problem generated.

How can I do that  
how should I see that hostname and port number that I am passing through my script.
