Question

Grok pattern for if else

  • 19 January 2023
  • 1 reply
  • 79 views

How to write a Grok pattern to match for a pattern, if fail go to next grok pattern.

eg first pattern is specific and second one is generic one. 

 

 


1 reply

Userlevel 4
Badge

@dhanraj_shinde 

 

Please can you share some sample text from the log file.

Reply