<?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: Splunk Stats Table - Color coding the rows if the value changes by a certain percentage in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238017#M70734</link>
    <description>&lt;P&gt;Well, my biggest concern is to calculate the average for several intervals and then the color coding.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Nov 2016 16:51:22 GMT</pubDate>
    <dc:creator>jagadeeshm</dc:creator>
    <dc:date>2016-11-24T16:51:22Z</dc:date>
    <item>
      <title>Splunk Stats Table - Color coding the rows if the value changes by a certain percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238015#M70732</link>
      <description>&lt;P&gt;I have a Kafka Monitor that generates events every minute (~approx) about production and consumption rates per second.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Sample Event&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{
 "CONSUMER_RATE":"0.09",
 "TOTAL_LOG_SIZE":"2171258",
 "GROUP":"consumer_group_1",
 "MSG_RATE":"0.08",
 "CLUSTER":"New_York"
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The events are generated per CLUSTER per GROUP. MSG_RATE indicates the production rate and CONSUMER_RATE indicates consumption rate.&lt;/P&gt;

&lt;P&gt;For each CLUSTER/GROUP, I want to display the latest (most recently received events) production rate and consumption rate and color code the rows if the consumption rate is falling behind production rate by a pre-defined percentage over last X number of intervals.&lt;/P&gt;

&lt;P&gt;If color coding is not possible, I only want to display the CLUSTER/GROUP that is failing above condition.&lt;/P&gt;

&lt;P&gt;For displaying the latest events, I am &lt;CODE&gt;dedup&lt;/CODE&gt;ing on CLUSTER and GROUP. Thoughts?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:52:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238015#M70732</guid>
      <dc:creator>jagadeeshm</dc:creator>
      <dc:date>2020-09-29T11:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Stats Table - Color coding the rows if the value changes by a certain percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238016#M70733</link>
      <description>&lt;P&gt;Color-coding is a hassle in versions prior to 6.5 but it is built-in starting with that version.  So I would first upgrade to the latest version and then you can click on the column header and program your own logic for color coding right there.  Otherwise see how to do it in this app (there is an example of it).&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 15:57:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238016#M70733</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-11-24T15:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Stats Table - Color coding the rows if the value changes by a certain percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238017#M70734</link>
      <description>&lt;P&gt;Well, my biggest concern is to calculate the average for several intervals and then the color coding.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 16:51:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238017#M70734</guid>
      <dc:creator>jagadeeshm</dc:creator>
      <dc:date>2016-11-24T16:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Stats Table - Color coding the rows if the value changes by a certain percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238018#M70735</link>
      <description>&lt;P&gt;That answers my coloring issue. What about the query part?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 17:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238018#M70735</guid>
      <dc:creator>jagadeeshm</dc:creator>
      <dc:date>2016-11-24T17:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Stats Table - Color coding the rows if the value changes by a certain percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238019#M70736</link>
      <description>&lt;P&gt;Try a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | dedup CLUSTER GROUP
| eval RATIO = CONSUMER_RATE / MSG_RATE
| where RATIO &amp;lt; YourValueHere
| table CLUSTER GROUP MSG_RATE CONSUMER_RATE RATIO
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 05 Dec 2016 23:33:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238019#M70736</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-12-05T23:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Stats Table - Color coding the rows if the value changes by a certain percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238020#M70737</link>
      <description>&lt;P&gt;I also mentioned about the last X intervals. dedup just gives me back 1 event.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Jan 2017 22:46:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238020#M70737</guid>
      <dc:creator>jagadeeshm</dc:creator>
      <dc:date>2017-01-21T22:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Stats Table - Color coding the rows if the value changes by a certain percentage</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238021#M70738</link>
      <description>&lt;P&gt;Right, but what about the rest.  This answer should do it as-is.  If it does not, do elaborate.&lt;/P&gt;</description>
      <pubDate>Sun, 05 Mar 2017 09:31:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-Stats-Table-Color-coding-the-rows-if-the-value-changes-by/m-p/238021#M70738</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-03-05T09:31:58Z</dc:date>
    </item>
  </channel>
</rss>

