24 Feb 2023 03:42 PM
Can I parse my log files that are not in JSON format? All examples I see so far is done with JSON format log files. How can I process my non-JSON custom log files? Example below.
5801 [main] INFO 2022-09-23T21:19:44.453 "message"
522801 [Thread-2] ERROR 2022-09-23T21:20:44.453 "message"
Solved! Go to Solution.
25 Feb 2023 07:24 AM - edited 25 Feb 2023 07:25 AM
Hi @user2 ,
Maybe you can use this example:
https://www.dynatrace.com/support/help/shortlink/log-monitoring-log-processing-examples#lpexample7
My exmaple for an access log:
Log Event for Custom Log Ingestion - Dynatrace Community
DPL documentation:
Dynatrace Pattern Language | Dynatrace Docs
I hope it helps.
Best regards,
Mizső