<?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 Limiting high numbers in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157480#M185807</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have a timechart with integers, every minutes. Normaly, the value of the integers are between 1 and 120.&lt;BR /&gt;
Sometimes it happens that a value can be over 500. In this case of failure, I would like to set the high value to 120 and would like to highlight it in a different color. &lt;/P&gt;

&lt;P&gt;Is this possible with  splunk with the default search tools?&lt;/P&gt;

&lt;P&gt;Thanks for your tips&lt;BR /&gt;
Rob &lt;/P&gt;</description>
    <pubDate>Fri, 12 Dec 2014 10:11:58 GMT</pubDate>
    <dc:creator>RobertRi</dc:creator>
    <dc:date>2014-12-12T10:11:58Z</dc:date>
    <item>
      <title>Limiting high numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157480#M185807</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I have a timechart with integers, every minutes. Normaly, the value of the integers are between 1 and 120.&lt;BR /&gt;
Sometimes it happens that a value can be over 500. In this case of failure, I would like to set the high value to 120 and would like to highlight it in a different color. &lt;/P&gt;

&lt;P&gt;Is this possible with  splunk with the default search tools?&lt;/P&gt;

&lt;P&gt;Thanks for your tips&lt;BR /&gt;
Rob &lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 10:11:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157480#M185807</guid>
      <dc:creator>RobertRi</dc:creator>
      <dc:date>2014-12-12T10:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting high numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157481#M185808</link>
      <description>&lt;P&gt;hi,i'm seeing what i can do for you&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 10:36:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157481#M185808</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2014-12-12T10:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting high numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157482#M185809</link>
      <description>&lt;P&gt;To limit high number  at 120 as you want you can use &lt;STRONG&gt;eval commande&lt;/STRONG&gt; like this:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;yourSearch.....|eval FieldName=FieldName|where FieldName&amp;lt;=120&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;where FieldName is the field that content your integer values&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 12:10:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157482#M185809</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2014-12-12T12:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting high numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157483#M185810</link>
      <description>&lt;P&gt;Hi Stephane&lt;/P&gt;

&lt;P&gt;Thank you for taking the time to help.&lt;/P&gt;

&lt;P&gt;This command is the same like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;mysearch | search fieldname &amp;lt;=120
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem here is, that the high numbers above 120 are disappeared and there are little gaps in the timeline, &lt;BR /&gt;
which can't be seen easily i the report.&lt;/P&gt;

&lt;P&gt;So I decide to show it as the highest possible number (120) in the report, that we see, attention here are potential failures.&lt;/P&gt;

&lt;P&gt;If I could color this bar with 120 in a different color, this would be great.&lt;/P&gt;

&lt;P&gt;Thank you&lt;BR /&gt;
Rob&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 12:26:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157483#M185810</guid>
      <dc:creator>RobertRi</dc:creator>
      <dc:date>2014-12-12T12:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting high numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157484#M185811</link>
      <description>&lt;P&gt;It doesn't appear that you can control the color of the resulting chart using just the search language - you'll have to create a dashboard panel to do that. However, here's how you can get the chart you want:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...your timechart search...
| eval green=if(count&amp;lt;=120,count,0) 
| eval red=if(count&amp;gt;120,120,0) 
| fields - count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you do this and format your chart to be a stacked bar chart, you'll see that the "red" ones (whatever color they end up being) are capped at 120 and a different color than the "green" ones. But they won't actually be red and green - again, you'll need to turn this into a dashboard panel and modify it to get those specific colors.&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2014 15:53:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157484#M185811</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-12-12T15:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting high numbers</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157485#M185812</link>
      <description>&lt;P&gt;Ok thanks that helps&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
Rob&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2014 11:35:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-high-numbers/m-p/157485#M185812</guid>
      <dc:creator>RobertRi</dc:creator>
      <dc:date>2014-12-15T11:35:38Z</dc:date>
    </item>
  </channel>
</rss>

