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

Split problems for the same log event configuration

nc1
Frequent Guest

Hi,
I have created a log event and I want to split the problems generated by the log event so that every log entry creates a unique problem. 
https://docs.dynatrace.com/docs/shortlink/lma-log-events#create-a-log-event
The docs linked above are telling me:
For example, to create a separate problem for each log line message, use event.unique_identifier={content}

Does anyone have any examples of how this is done?

4 REPLIES 4

AntonPineiro
DynaMight Guru
DynaMight Guru

Hi,

Are matching same pattern? It means, you can create one log event matching "X" and another log event matching "Y".

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Yes, the matcher will match a generic pattern. Then I want to extract something else from the log that is unique, and set that with event.unique_identifier={content} but I can't find any examples of how to do this in a log processor definition

Hi,

Are you using Grail? if yes, you can use openpipeline.

Anyway, you have log parse examples.

Best regards

❤️ Emacs ❤️ Vim ❤️ Bash ❤️ Perl

Yes, I'm using Grail. I've seen the Parse examples, however, I'm not sure how to format the syntax for a command event.unique_identifier={content}

Featured Posts