Hello
I wanted to suppose we have a log and w define custom fields for the same and implement grok on it then on basis of a particular field as defined in the custom pattern how can we implement conditional cases on basis of the field as specified in the custom pattern.
suppose this is the log
now the third field is named program in my custom pattern.
I have four types of program and all this four types have different log format.
Now I want to implement the specific grok filters by using conditions on the basis of these program types.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.