Skip to main content
Question

Grok pattern for if else

  • January 19, 2023
  • 1 reply
  • 101 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. 

 

 

saleempothiwala
Headliner
Forum|alt.badge.img

@dhanraj_shinde 

 

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


Reply