I have the following log event but I have not been able to use spath to extract the json key=value pairs if the json portion contains arrays. Event example:
2013-03-12 10:37:10,205 <tvsquery id=58b6bf4d-948b-416b-8d17-cedcbc1059ec>{
"start" : 1,
"returned" : 1,
"count" : 1,
"entities" : [ {
"houses" : {
"callers" : "IM",
"placeid" : 5041447014850446107,
"number" : 14,
"sourceid" : 5625
},
"entitytype" : "house/street",
"title" : [ {
"default" : "No Place"
} ]
} ]
}</tvsquery>
The following answer solved the problem if the json protion does not contain any array:
http://splunk-base.splunk.com/answers/79029/part-1-how-to-extract-a-json-portion-of-an-event-then-use-spath-to-extract-keyvalue-pairs
I having a hard time to make it work.
Any help please!
Thanks,
Lp
... View more