Hello, I have the following two lines (they can occur multiple times) in a logfile
2017-05-01 09:21:35 [item_utils.py] INFO: stock_status value after cleanup is OUT_OF_STOCK
2017-05-01 09:21:35 [item_utils.py] INFO: stock_status value after cleanup is IN_STOCK
I want to create 2 variables (in_stock, out_of_stock) to count the times of concurrence of each of the previous two lines, how to do it using grok?
Thanks