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

Adding custom dimensions in logs

henk_stobbe
DynaMight Champion
DynaMight Champion

Hello,

I see below predefined dimensions, is there any way to extract a custom dimension from the log lines?

KR Henk

 

henk_stobbe_0-1698311960952.png

 

7 REPLIES 7

radek_jasinski
DynaMight Guru
DynaMight Guru

Hi @henk_stobbe 

After verifying the documentation, I do not see this option.

https://www.dynatrace.com/support/help/dynatrace-api/environment-api/log-monitoring-v2/post-ingest-l...

Radek

Have a nice day!

Mohamed_Hamdy
DynaMight Champion
DynaMight Champion

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.

Certified Dynatrace Professional | Certified Dynatrace Services Delivery - Observability & CloudOps | Dynatrace Partner - yourcompass.ca

henk_stobbe
DynaMight Champion
DynaMight Champion

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

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

 

Certified Dynatrace Professional | Certified Dynatrace Services Delivery - Observability & CloudOps | Dynatrace Partner - yourcompass.ca

Hi Mohammde,

Almost thought it was the same link (-;, until I noticed:

henk_stobbe_0-1698389618067.png

I will study it (-;

Thanks!

Henk

 

Mizső
DynaMight Leader
DynaMight Leader

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ő

Dynatrace Community RockStar 2024, Certified Dynatrace Professional

henk_stobbe
DynaMight Champion
DynaMight Champion

Hu Mizső,

Thanks for that, 

KR Henk

Featured Posts