# Ingesting non-numerical data

**URL:** <https://community.dynatrace.com/t/ingesting-non-numerical-data/37827>\
**Category:** Developer Q&A Forum\
**Tags:** custom-app, data-ingest\
**Created:** [December 29, 2022, 2:47pm UTC](https://community.dynatrace.com/t/ingesting-non-numerical-data/37827 "2022-12-29T14:47:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![3ene](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/3ene/32/33646_2.png) [@3ene](https://community.dynatrace.com/u/3ene)\
**Post date:** [December 29, 2022, 2:47pm UTC](https://community.dynatrace.com/t/ingesting-non-numerical-data/37827/1 "2022-12-29T14:47:03Z")

</div>

I’m currently building an app that allows ingestion of known IPs that are sources of attacks. My current solutions is ingesting it as a dimension in a metric (as specified [here](https://www.dynatrace.com/support/help/shortlink/metric-ingestion-protocol)), but that seems a little ‘hack-y’ to me.

Is there a better way to ingest non-numerical data?

Thank you.

---

<div class="post-metadata">

**Author:** ![christian\_barth](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/christian_barth/32/34060_2.png) [@christian\_barth](https://community.dynatrace.com/u/christian_barth)\
**Post date:** [December 30, 2022, 8:09am UTC](https://community.dynatrace.com/t/ingesting-non-numerical-data/37827/2 "2022-12-30T08:09:22Z")

</div>

Hi,

This depends a little bit on how you want to use the ingested data after the ingestion.

You could ingest them as [BizEvents](https://developer.dynatrace.com/develop/data/ingest-data/#business-events)&nbsp;, allowing you to define an object structure for the data. But similarly to Metrics, events are tied to a timestamp.

If you only want to use it within your app, maybe [AppState](https://developer.dynatrace.com/develop/data/state/) would be an option.

Maybe you describe your use-case in more detail, so I can you even more insights.

Cheers

Christian

---

<div class="post-metadata">

**Author:** ![AlexanderSommer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/alexandersommer/32/2501_2.png) [@AlexanderSommer](https://community.dynatrace.com/u/AlexanderSommer)\
**Post date:** [December 30, 2022, 8:40am UTC](https://community.dynatrace.com/t/ingesting-non-numerical-data/37827/3 "2022-12-30T08:40:44Z")

</div>

“known IPs that are sources of attacks” sounds like this is a lookup data source. At this point in time we support logs, events (including bizevents), spans and metrics with Grail. All these data types are immutable and have a strong relation to time.&nbsp;  
Grail will support such lookup tables or snapshots at some point next year. If you can update this know IP’s every day you might be able to use events as workaround.

---

<div class="post-metadata">

**Author:** ![3ene](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/3ene/32/33646_2.png) [@3ene](https://community.dynatrace.com/u/3ene)\
**Post date:** [January 2, 2023, 9:22am UTC](https://community.dynatrace.com/t/ingesting-non-numerical-data/37827/4 "2023-01-02T09:22:55Z")

</div>

Cool, thanks for your answers! While AppState (and Metrics, which I’m currently using) are workarounds, I feel like snapshots are the actually correct way to ingest this kind of data.

Thank you for the explanation!
