<?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: Table with Sparklines for multiple key/value pairs in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110452#M28887</link>
    <description>&lt;P&gt;sure enough, it works with splitting it into bins. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 30 Mar 2015 11:25:01 GMT</pubDate>
    <dc:creator>giovere</dc:creator>
    <dc:date>2015-03-30T11:25:01Z</dc:date>
    <item>
      <title>Table with Sparklines for multiple key/value pairs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110448#M28883</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;

&lt;P&gt;Logged events look something like  this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;10:00 ComponentA: 3 ComponentB: 5 ComponentC: 8
10:01 ComponentA: 3 ComponentB: 4 ComponentC: 10
10:02 ComponentA: 5 ComponentB: 2 ComponentC: 12
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Number of components is fixed, ideally I’d like to have a table with the latest value for component and a sparkline for the past 30 minutes or so.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Component  | Value| Sparkline
ComponentA | 5    | Sparkline(3,3,5)
ComponentB | 2    | Sparkline(5,4,2)
ComponentC | 12   | Sparkline(8,10,12)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(Optional) Bonus sub-step would be adding coloring map per row (Component)? Found in documentation a way to define it per table, but each Component has different threshold.&lt;/P&gt;

&lt;P&gt;Any help much appreciated.&lt;BR /&gt;
Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2015 10:34:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110448#M28883</guid>
      <dc:creator>giovere</dc:creator>
      <dc:date>2015-03-27T10:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Table with Sparklines for multiple key/value pairs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110449#M28884</link>
      <description>&lt;P&gt;This should do the trick&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search giving fields _time, ComponentA, ComponentB, ComponentC | fields _time, ComponentA, ComponentB, ComponentC | untable _time Component Value | stats latest(Value) as Value sparkline as Sparkline by Component
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 27 Mar 2015 20:10:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110449#M28884</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-03-27T20:10:03Z</dc:date>
    </item>
    <item>
      <title>Re: Table with Sparklines for multiple key/value pairs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110450#M28885</link>
      <description>&lt;P&gt;Thanks, this works quite well, except one thing. Is there a way to get sparkline(latest(Value),8h)? Apparently by default it supports aggregation functions like avg, mean, max etc., but what I'd rather have is a latest value for a given span.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2015 07:16:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110450#M28885</guid>
      <dc:creator>giovere</dc:creator>
      <dc:date>2015-03-28T07:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table with Sparklines for multiple key/value pairs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110451#M28886</link>
      <description>&lt;P&gt;You cant do this for specific aggregates unluss you rework your whole search. Otherwise you can add&lt;BR /&gt;
... | bin _time span=8h | ..&lt;/P&gt;

&lt;P&gt;Thats if I understand you're wanting to group all these together into 8h buckets.&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2015 10:38:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110451#M28886</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-03-28T10:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Table with Sparklines for multiple key/value pairs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110452#M28887</link>
      <description>&lt;P&gt;sure enough, it works with splitting it into bins. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2015 11:25:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110452#M28887</guid>
      <dc:creator>giovere</dc:creator>
      <dc:date>2015-03-30T11:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Table with Sparklines for multiple key/value pairs</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110453#M28888</link>
      <description>&lt;P&gt;It works for me as well. thanks&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2015 10:41:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Table-with-Sparklines-for-multiple-key-value-pairs/m-p/110453#M28888</guid>
      <dc:creator>sunnyparmar</dc:creator>
      <dc:date>2015-06-04T10:41:08Z</dc:date>
    </item>
  </channel>
</rss>

