Hi all, I have a multiple json files. The format is like as below. { "ID": "123", "TIME": "Jul 11, 2021, 08:55:54 AM", "STATUS": "FAIL", "DURATION": "4 hours, 32 minutes", } From these json files i want to use the DURATION field and convert the value into hours. After that i want to use these values of all the json files to plot a graph. I have used regex to extract the value, but its not working. Below is the query that i have used. | rex field=DURATION "(?<duration_hour>\d*)hours, ?(?<duration_minute>\d*)minutes" | eval DURATION=duration_hour+(duration_minute)/60 can anyone please tell me what is mistake here?
... View more