<?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: Change Column Color If Over Threshhold - Splunk License in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154176#M43336</link>
    <description>&lt;P&gt;In that example before stats use bucket. Edited Search is below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your base search | bucket _time span=1d 
| stats count by _time
| eval high=if(count&amp;gt;1000,count,0)
| eval low=count-high
| fields _time,high,low
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Include earliest and latest searchtime modifiers in your base search&lt;/P&gt;

&lt;P&gt;Check if this works&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jul 2014 17:30:53 GMT</pubDate>
    <dc:creator>strive</dc:creator>
    <dc:date>2014-07-23T17:30:53Z</dc:date>
    <item>
      <title>Change Column Color If Over Threshhold - Splunk License</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154175#M43335</link>
      <description>&lt;P&gt;I've looked at this link:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/7228/change-column-color-if-over-a-range"&gt;http://answers.splunk.com/answers/7228/change-column-color-if-over-a-range&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;However, I am trying to make a chart to show our Splunk license overages (past 30 days, span of 1 day).  I'm not sure how to use the timechart spanning capabilities (1 day) with the existing method in the link.&lt;/P&gt;

&lt;P&gt;Any help is appreciated, and thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 13:47:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154175#M43335</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2014-07-23T13:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Change Column Color If Over Threshhold - Splunk License</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154176#M43336</link>
      <description>&lt;P&gt;In that example before stats use bucket. Edited Search is below&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Your base search | bucket _time span=1d 
| stats count by _time
| eval high=if(count&amp;gt;1000,count,0)
| eval low=count-high
| fields _time,high,low
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Include earliest and latest searchtime modifiers in your base search&lt;/P&gt;

&lt;P&gt;Check if this works&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 17:30:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154176#M43336</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-23T17:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Change Column Color If Over Threshhold - Splunk License</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154177#M43337</link>
      <description>&lt;P&gt;I tried one more way, that is&lt;/P&gt;

&lt;P&gt;Your base search | timechart span=1d count | eval high=if(count&amp;gt;1000,count,0) | eval low=count-high | fields - count&lt;/P&gt;

&lt;P&gt;Even this works.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jul 2014 17:39:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154177#M43337</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-23T17:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change Column Color If Over Threshhold - Splunk License</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154178#M43338</link>
      <description>&lt;P&gt;The problem is I am not counting events.  I am adding up the "kb" field in the metrics to determine how much data we logged in a day.  The stats command doesn't allow me to use a varible, it seems.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 13:55:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154178#M43338</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2014-07-24T13:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change Column Color If Over Threshhold - Splunk License</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154179#M43339</link>
      <description>&lt;P&gt;Can you post some sample data. That will help us to help you in a better way.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2014 14:11:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154179#M43339</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-24T14:11:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change Column Color If Over Threshhold - Splunk License</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154180#M43340</link>
      <description>&lt;P&gt;It's Splunk internal data:&lt;/P&gt;

&lt;P&gt;index=&lt;EM&gt;internal source=*metrics.log group=per_index_thruput series!=&lt;/EM&gt;*&lt;/P&gt;

&lt;P&gt;Using the "kb" field&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:10:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154180#M43340</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2020-09-28T17:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change Column Color If Over Threshhold - Splunk License</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154181#M43341</link>
      <description>&lt;P&gt;Here you go&lt;BR /&gt;
index=_internal source=*metrics.log group="per_index_thruput" | timechart span=1d sum(kb) as TotalKB | eval high=if(TotalKB&amp;gt;1000,TotalKB,0) | eval low=TotalKB-high | fields - TotalKB&lt;/P&gt;

&lt;P&gt;More information at: &lt;A href="http://blogs.splunk.com/2008/03/13/digging-into-metrics-log/" target="_blank"&gt;http://blogs.splunk.com/2008/03/13/digging-into-metrics-log/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You can do some math and convert it into GB if you need.&lt;BR /&gt;
eval TotalGB=TotalKB/1048576&lt;/P&gt;

&lt;P&gt;Include earliest and latest search time modifiers as per your needs.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:10:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154181#M43341</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2020-09-28T17:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: Change Column Color If Over Threshhold - Splunk License</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154182#M43342</link>
      <description>&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2014 15:38:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Column-Color-If-Over-Threshhold-Splunk-License/m-p/154182#M43342</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2014-07-25T15:38:40Z</dc:date>
    </item>
  </channel>
</rss>

