Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

using greater than comparison on a property is not working

$
0
0
I am trying to filter my results on a property that is greater than a certain value and it is not returning any results. If I do an equals to comparison it works. Below is my filter criteria and the property outline. Query: index="lab" source="*-test" | eval isGood=if('line.message.space-document.elements{}.y'>="1664","true","false") | where isGood="true" | stats count Below is the format of the event i'm trying to capture: line: { [-] message: { [-] space-document: { [-] elements: [ [-] { [-] x: 38 **y: 1664** } { [-] id: ac5q3ghn x: 38 y: 708 } ] } } }

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>