26 Oct 2023 10:21 AM
Hello,
I see below predefined dimensions, is there any way to extract a custom dimension from the log lines?
KR Henk
Solved! Go to Solution.
26 Oct 2023 11:04 AM
26 Oct 2023 01:02 PM
Hi @henk_stobbe ,
I think you need to create a log custom attributes first then you can use them to filter the logs and as dimensions when creating metrics.
for more details please check the following for the classic log monitoring
https://docs.dynatrace.com/docs/shortlink/log-monitoring-log-custom-attributes
for me, I've created multiple to capture some custom attributes from JSON log event but it's not reflected as mentioned on the documentation, so I've opened a support ticket, and still in progress but you can try to create that as well.
26 Oct 2023 01:14 PM
Hi Mohamed,
Thanks for your aswer/addon, I see in the link it is for logging V1, I am afraid in logging V2 (Grail) this option is not even available )-;
KR Henk
27 Oct 2023 07:11 AM - edited 27 Oct 2023 07:16 AM
Hi @henk_stobbe ,
I can see that there is an update for Grail as well, if it's not reflected yet, I think you can check with the Dynatrace support team
https://docs.dynatrace.com/docs/shortlink/lma-log-custom-attributes
27 Oct 2023 07:55 AM
Hi Mohammde,
Almost thought it was the same link (-;, until I noticed:
I will study it (-;
Thanks!
Henk
31 Oct 2023 12:25 PM
Hi @henk_stobbe
Could you please check my post for the extra dimensions.
Solved: List log files for a metric - Dynatrace Community
I hope it helps.
Best regards,
Mizső
31 Oct 2023 02:30 PM
Hu Mizső,
Thanks for that,
KR Henk