# Ingest CSV data to Dynatrace

**URL:** <https://community.dynatrace.com/t/ingest-csv-data-to-dynatrace/53124>\
**Category:** Logs\
**Tags:** log-processing, log-configuration, data-ingest, logs\
**Created:** [August 27, 2025, 8:41am UTC](https://community.dynatrace.com/t/ingest-csv-data-to-dynatrace/53124 "2025-08-27T08:41:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anuj08\_jain](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@anuj08\_jain](https://community.dynatrace.com/u/anuj08_jain)\
**Post date:** [August 27, 2025, 8:41am UTC](https://community.dynatrace.com/t/ingest-csv-data-to-dynatrace/53124/1 "2025-08-27T08:41:14Z")

</div>

Is their Any way we can ingest the CSV files in Dynatrace?

I have CSV file test.csv:

```markup
timestamp,host,process,pid,loglevel,message
2025-08-26 14:21:05,web01,sshd,32145,INFO,"Accepted password for custuser3 from 10.10.5.44 port 60233 ssh2"
2025-08-26 14:22:11,web01,sshd,32147,WARNING,"Failed password for custuser2 from 10.10.5.55 port 60291 ssh2"
2025-08-26 14:23:30,db01,mysqld,4521,INFO,"Connection established for user root@10.10.1.22"
2025-08-26 14:24:18,app01,java,2234,ERROR,"NullPointerException in com.example.service.OrderService"
2025-08-26 14:25:05,web02,nginx,1120,INFO,"200 GET /index.html from 10.10.3.11"
2025-08-26 14:26:47,web02,nginx,1120,ERROR,"502 Bad Gateway for /api/orders"
2025-08-26 14:27:12,db01,mysqld,4521,WARNING,"Slow query detected: SELECT * FROM orders"
2025-08-26 14:28:09,app02,python,8876,INFO,"Task scheduler executed job cleanup.py"
2025-08-26 14:29:40,app02,python,8876,ERROR,"ModuleNotFoundError: No module named 'requests'"
2025-08-26 14:30:25,web01,sshd,32149,INFO,"Accepted publickey for admin from 10.10.5.77 port 60312 ssh2"

```

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [August 27, 2025, 9:03am UTC](https://community.dynatrace.com/t/ingest-csv-data-to-dynatrace/53124/2 "2025-08-27T09:03:00Z")

</div>

Certainly, you can do it (assuming log monitoring classic - in Dynatrace Managed based on your tag), using various methods. If OneAgent log ingestion (OneAgent ships the logs), then you need to define a [custom log source](https://docs.dynatrace.com/managed/shortlink/log-monitoring-custom-source) and a [log ingest rule](https://docs.dynatrace.com/managed/shortlink/lmc-log-ingest-rules). Additionally, [log processing rules](https://docs.dynatrace.com/managed/shortlink/log-monitoring-log-processing) are required to parse the content into log attributes.

---

<div class="post-metadata">

**Author:** ![anuj08\_jain](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@anuj08\_jain](https://community.dynatrace.com/u/anuj08_jain)\
**Post date:** [August 27, 2025, 9:32am UTC](https://community.dynatrace.com/t/ingest-csv-data-to-dynatrace/53124/3 "2025-08-27T09:32:46Z")

</div>

So that means Dynatrace, doesn’t parse csv data by it’s own and we dont have any pre-defined Ingest Rule for the case?  
Also Do we have any support to view this data similar like Splunk - lookup or inputlookup something like that?

---

<div class="post-metadata">

**Author:** ![Julius\_Loman](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/julius_loman/32/51_2.png) [@Julius\_Loman](https://community.dynatrace.com/u/Julius_Loman)\
**Post date:** [August 27, 2025, 10:55am UTC](https://community.dynatrace.com/t/ingest-csv-data-to-dynatrace/53124/4 "2025-08-27T10:55:48Z")

</div>

**Custom log source** - is to specify you have a custom log which is not automatically detected. CSV files generated by an application probably won’t be autodetected - when you ingest the log by OneAgent.  
**Ingest rule** &nbsp;- is to specify the log (or entries) have to be ingested by OneAgent.  
**Processing rule** - is to parse the content into log attributes. You will see the log lines in the content attributes. You probably want this to map the CSV fields to log attributes in Dynatrace, such as log source&nbsp; or level.

---

<div class="post-metadata">

**Author:** ![HansLougas](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hanslougas/32/23712_2.png) [@HansLougas](https://community.dynatrace.com/u/HansLougas)\
**Post date:** [August 28, 2025, 1:33pm UTC](https://community.dynatrace.com/t/ingest-csv-data-to-dynatrace/53124/5 "2025-08-28T13:33:50Z")

</div>

[@anuj08\_jain](https://community.dynatrace.com/user/94818)&nbsp;Please see documentation for lookup data, if you are using log on Grail:&nbsp;[Lookup data in Grail — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/grail-lookup-data)
