source="rex-empty-string.txt" host="laptop" sourcetype="rexEmpty"
| rex "WifiCountryDetails\"\:\"(?<WifiCountryDetails>(\w+|\S))\""
| stats count by WifiCountryDetails Pls check the above SPL.. i ...
See more...
source="rex-empty-string.txt" host="laptop" sourcetype="rexEmpty"
| rex "WifiCountryDetails\"\:\"(?<WifiCountryDetails>(\w+|\S))\""
| stats count by WifiCountryDetails Pls check the above SPL.. i checked it and its working fine. to troubleshoot further.. can you pls copy paste two sample logs, one with country and one without country. (pls remove ip address, important details from the sample logs.. just copy paste the line like these.. {"Type":"status","HardwareRevision":"H6","WifiCountryDetails":"","BatPercent":100,"BatTech":"Rechargeable" {"Type":"status","HardwareRevision":"H6","WifiCountryDetails":"india","BatPercent":100,"BatTech":"Rechargeable" )