<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use singleDecorations.css with search? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-singleDecorations-css-with-search/m-p/130351#M35508</link>
    <description>&lt;P&gt;Hi jbuesco,&lt;/P&gt;

&lt;P&gt;this makes no sense:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;query&amp;gt; | dbquery ORACLE_SVCM  "SELECT  count(problems) FROM db1 WHERE STATUS!='closed''" &amp;lt;/query&amp;gt;
           | stats count as value | eval value | rangemap field=value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;CODE&gt;stats&lt;/CODE&gt; part of the search is outside the &lt;CODE&gt;query&lt;/CODE&gt; tag. Since I don't have any of your events available I can only assume that the following might work for you:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;query&amp;gt; 
| dbquery ORACLE_SVCM  "SELECT  count(problems) FROM db1 WHERE STATUS!='closed''" 
| stats count as value 
| rangemap field=value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none
&amp;lt;/query&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jul 2015 01:31:43 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2015-07-21T01:31:43Z</dc:date>
    <item>
      <title>How to use singleDecorations.css with search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-singleDecorations-css-with-search/m-p/130350#M35507</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I am trying to use examples given with Single Value Decorations, but i am not able to get it working correctly. Every example is given with searchString:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;searchString&amp;gt;| stats count as value | eval value = 550 | rangemap field=value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none&amp;lt;/searchString&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When I try to use it with my simple "search", it doesn't work&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard stylesheet="single_decorations.css"&amp;gt;
  &amp;lt;label&amp;gt;test&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;test&amp;lt;/title&amp;gt;
      &amp;lt;single&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt; | dbquery ORACLE_SVCM  "SELECT  count(problems) FROM db1 WHERE STATUS!='closed''" &amp;lt;/query&amp;gt;
          | stats count as value | eval value | rangemap field=value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none
          &amp;lt;earliest&amp;gt;0&amp;lt;/earliest&amp;gt;
          &amp;lt;option name="classField"&amp;gt;range&amp;lt;/option&amp;gt;
          &amp;lt;option name="field"&amp;gt;value&amp;lt;/option&amp;gt;
        &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Anyone could give me some help to advance? &lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2015 12:36:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-singleDecorations-css-with-search/m-p/130350#M35507</guid>
      <dc:creator>jbueso</dc:creator>
      <dc:date>2015-07-20T12:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use singleDecorations.css with search?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-singleDecorations-css-with-search/m-p/130351#M35508</link>
      <description>&lt;P&gt;Hi jbuesco,&lt;/P&gt;

&lt;P&gt;this makes no sense:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;query&amp;gt; | dbquery ORACLE_SVCM  "SELECT  count(problems) FROM db1 WHERE STATUS!='closed''" &amp;lt;/query&amp;gt;
           | stats count as value | eval value | rangemap field=value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;CODE&gt;stats&lt;/CODE&gt; part of the search is outside the &lt;CODE&gt;query&lt;/CODE&gt; tag. Since I don't have any of your events available I can only assume that the following might work for you:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;query&amp;gt; 
| dbquery ORACLE_SVCM  "SELECT  count(problems) FROM db1 WHERE STATUS!='closed''" 
| stats count as value 
| rangemap field=value none=0-99 low=100-199 guarded=200-299 elevated=300-399 high=400-499 severe=500-599 default=none
&amp;lt;/query&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2015 01:31:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-singleDecorations-css-with-search/m-p/130351#M35508</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-07-21T01:31:43Z</dc:date>
    </item>
  </channel>
</rss>

