# Custom Application Log Format?

**URL:** <https://community.dynatrace.com/t/custom-application-log-format/41935>\
**Category:** Logs\
**Tags:** customization, log-monitoring-class\
**Created:** [October 5, 2023, 1:54am UTC](https://community.dynatrace.com/t/custom-application-log-format/41935 "2023-10-05T01:54:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaviS](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RaviS](https://community.dynatrace.com/u/RaviS)\
**Post date:** [October 5, 2023, 1:54am UTC](https://community.dynatrace.com/t/custom-application-log-format/41935/1 "2023-10-05T01:54:11Z")

</div>

Hi.&nbsp; I’m a new Dynatrace user so please bear with me as I haven’t seen the examples.

I am trying to parse a custom application’s log within Dynatrace and set alerts based on various fields and keywords within the log file.&nbsp; The issue is that the custom application produces text files with a \*.txt format and separated the fields within the log with a pipe delimiter.&nbsp; The log is created with a timestamp at the end of the file each hour (ie log file name.YYMMDDHHMM.text).

I haven’t tried it yet or seen many examples of this (yet or maybe I’m not looking in the right place).

Do I use the custom log ingestion process to ingest the file and then use the DPL to parse the custom format?&nbsp; Or, would it be better for me to write a KSH script rename the ‘crazy’ log file into something that Dynatrace can read and parse more easily (ie make it look like a Windows System log file)?.

Any guidance would be appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [October 5, 2023, 6:43am UTC](https://community.dynatrace.com/t/custom-application-log-format/41935/2 "2023-10-05T06:43:49Z")

</div>

Hi,

Do you know if your tenant is Grail enabled? Or are you going to use Logs Classic?

Best regards

---

<div class="post-metadata">

**Author:** ![RaviS](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@RaviS](https://community.dynatrace.com/u/RaviS)\
**Post date:** [October 5, 2023, 2:48pm UTC](https://community.dynatrace.com/t/custom-application-log-format/41935/3 "2023-10-05T14:48:23Z")

</div>

I believe that the team set it up with Logs Classic, but if you tell me that it only works with Grail enabled then I can speak with them about the importance of that feature.

---

<div class="post-metadata">

**Author:** ![AntonPineiro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antonpineiro/32/49_2.png) [@AntonPineiro](https://community.dynatrace.com/u/AntonPineiro)\
**Post date:** [October 5, 2023, 4:57pm UTC](https://community.dynatrace.com/t/custom-application-log-format/41935/4 "2023-10-05T16:57:49Z")

</div>

Hi,

I would try to ingest logs using&nbsp;[Log storage configuration (Logs Classic)](https://www.dynatrace.com/support/help/shortlink/log-monitoring-log-storage)

And you have&nbsp;[Log processing examples (Logs Classic)](https://www.dynatrace.com/support/help/shortlink/log-monitoring-log-processing-examples).

Best regards
