I am trying to use rangemap in a dashboard. The below sample always displays the default (10000+) range no matter what the duration values are.But the query as such displays correct results in splunk. Is there something wrong with the dashboard code I am using.I am using Splunk 4.2
Any time I run into issues like this, I'll first attempt wrapping the search string in an XML CDATA tag. Certain characters are special to XML and cannot be inside of an XML tag without causing parser confusion. So, try this...
<param name="search"><![CDATA[index=exp sourcetype="xxx"| rangemap field=duration low=0-10000 default=10000+ | stats count by range | sort range]]></param>
Thanks for the suggestion.. But it didnt work. Any other suggestions ??