I'm new in the community and in the use of Dynatrace.
There is someway to extract specific fields in a custom trace log.
I associate the custom log to the process but I don't find a way to extract and create a custom field.
For example if I have a logfile with these line pattern:
25/01/2021 ORD1234 OK
Is there some way to identify the ORD1234 as NrOrder and OK as Result fields to use in the search text for post processing?
Thank's a lot for helping me
Solved! Go to Solution.
If you are looking for the log custom attributes. Please have a look at the below link:
thank for your reply. I have some doubt because in this article it seems that the custom metric is to built only for json log but i don' t understand if this is possible for log4Net , log4j or custom log defining some rule or regular expr to extract a specific field as a metric.
thanks a lot for your support
Thanks for posting this here also Mathias!
I recommend watching through the whole Observability Clinic session, but if you're curious about extracting fields from log record, see from 53:26.