I am trying to parse json data in Splunk This is the example data. {
"certificates": [
{
"NotAfter": "2020-09-06T15:34:22-07:00",
"NotBefore": "2019-09-07T15:34:22-07:00",
"allowedOperations": [
"certificate_show",
"certificate_der_download"
],
},
{
"NotAfter": "2020-10-07T10:51:40-07:00",
"NotBefore": "2019-10-08T10:51:40-07:00",
"allowedOperations": [
"certificates_show"
],
}
I want only the data between the tags before "NotAfter" into separate events , and the top part has to be ignored. I have tried regex101 to identify to identify the breaking patters , it works there but not in Splunk. Can you please guide. Thanks., nawaz
... View more