cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Parse custom log format

user2
Newcomer

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"

1 REPLY 1

Mizső
DynaMight Leader
DynaMight Leader

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ő

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

Featured Posts