<?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: sparkline on the basis of column results in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282873#M17876</link>
    <description>&lt;P&gt;The columns ie 07_2015 , 08 and 09 provides me ticket counts of July , aug and sept months. Lets take an example of Ahmedabad location , each month count was 1121 , 970 ,1100. so I am expecting a graph as trend by using these three values ie for x axis Months (07 , 08 and 09) and Y axis  ticket count. So my first location trend should start from comparatively high value (ie  1121 tickets) and then dip to low (ie 970 tickets) then again raise to 1100.  Hope you understand.&lt;BR /&gt;
In simple language, I need to draw a small graph on each raw by using three columns values.&lt;/P&gt;</description>
    <pubDate>Fri, 13 Nov 2015 07:35:51 GMT</pubDate>
    <dc:creator>vranjith009</dc:creator>
    <dc:date>2015-11-13T07:35:51Z</dc:date>
    <item>
      <title>sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282866#M17869</link>
      <description>&lt;P&gt;Hi Splunkers,&lt;/P&gt;

&lt;P&gt;I am new to Splunk. I was trying to create some dashboard with CSV files. I got some results as per the attached image and trying to add one sparkline column to the results. The sparkline should represent the three month data trend for each region (Y-axis will be ticket count and X-axis will be duration in months), and expecting the graph on the same raw on 4th column. Tried some options with sparkline, since "desired" keyword is variable, I hope I am unable to get the correct output. Can any one help on this? Thanks in advance.&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/744i8845211E91085C81/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Oct 2015 08:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282866#M17869</guid>
      <dc:creator>vranjith009</dc:creator>
      <dc:date>2015-10-19T08:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282867#M17870</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=gh* sourcetype=csv  Country=india | eval epochtime=strptime(Resolve,"%d-%m-%Y") | eval desired=strftime(epochtime,"%b_%Y") |stats count(eval("Ticket No")) AS Total , count(eval(Level="Level1 - Tech." OR Level="Level 1 - Blackberry" OR Level="L1 Voice")) AS L1 sparkline(count(eval(Level="Level1 - Tech." OR Level="Level 1 - Blackberry" OR Level="L1 Voice")), 1d) AS "3 month daily Trend" BY desired Region
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Oct 2015 20:38:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282867#M17870</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-29T20:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282868#M17871</link>
      <description>&lt;P&gt;To do what you like, I think you need to use &lt;CODE&gt;appendcols&lt;/CODE&gt; so try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Put your original OP search here | appendcols [index=gh* sourcetype=csv  Country=india | stats sparkline(count(eval(Level="Level1 - Tech." OR Level="Level 1 - Blackberry" OR Level="L1 Voice")), 1mon) AS "Monthly Trend" BY Region]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 31 Oct 2015 13:59:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282868#M17871</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-10-31T13:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282869#M17872</link>
      <description>&lt;P&gt;Hi Woodcock,&lt;/P&gt;

&lt;P&gt;Thanks for the solution now I am getting sparkline in a better view as attached with full L1 tickets of data trend. If I am pointing through sparkline I am able to see the count variation . But dont know how sorting of L1 count is done by sparkline,? I was looking for the three  L1 value graph on raw basis. I hope now i am getting atleast a graph with full ticket count. Is there any suggestion for sorting this total count graph on month order (like  07 , 08 ,09).&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/742i7AF5E0AF38BABB91/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Nov 2015 14:11:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282869#M17872</guid>
      <dc:creator>vranjith009</dc:creator>
      <dc:date>2015-11-04T14:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282870#M17873</link>
      <description>&lt;P&gt;I made a mistake and should have used &lt;CODE&gt;1mon&lt;/CODE&gt; instead of &lt;CODE&gt;1m&lt;/CODE&gt; in my &lt;CODE&gt;sparkline&lt;/CODE&gt;.  I have corrected my answer so try again.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Nov 2015 14:25:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282870#M17873</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-11-05T14:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282871#M17874</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/743i6096F3CD9C9E0E13/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Hope now also I am getting same trend, Attaching the query output. Please suggest if sorting is possible. &lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 07:58:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282871#M17874</guid>
      <dc:creator>vranjith009</dc:creator>
      <dc:date>2015-11-12T07:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282872#M17875</link>
      <description>&lt;P&gt;So everything else is OK but you need to sort something, right?  Describe the sorting that you need.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2015 18:05:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282872#M17875</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-11-12T18:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282873#M17876</link>
      <description>&lt;P&gt;The columns ie 07_2015 , 08 and 09 provides me ticket counts of July , aug and sept months. Lets take an example of Ahmedabad location , each month count was 1121 , 970 ,1100. so I am expecting a graph as trend by using these three values ie for x axis Months (07 , 08 and 09) and Y axis  ticket count. So my first location trend should start from comparatively high value (ie  1121 tickets) and then dip to low (ie 970 tickets) then again raise to 1100.  Hope you understand.&lt;BR /&gt;
In simple language, I need to draw a small graph on each raw by using three columns values.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 07:35:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282873#M17876</guid>
      <dc:creator>vranjith009</dc:creator>
      <dc:date>2015-11-13T07:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282874#M17877</link>
      <description>&lt;P&gt;i am not sure sparkline is the right tool for my requirement. Please guide&lt;/P&gt;</description>
      <pubDate>Fri, 13 Nov 2015 07:37:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282874#M17877</guid>
      <dc:creator>vranjith009</dc:creator>
      <dc:date>2015-11-13T07:37:42Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282875#M17878</link>
      <description>&lt;P&gt;The problem is that you are running your search with &lt;CODE&gt;All Time&lt;/CODE&gt; on the &lt;CODE&gt;Timepicker&lt;/CODE&gt; and you only have data for the last 3 months.  Try running the search for &lt;CODE&gt;Last 3 Months&lt;/CODE&gt; and it should look the way you expect.  The "problem" is that &lt;CODE&gt;sparkline&lt;/CODE&gt; works like &lt;CODE&gt;timechart&lt;/CODE&gt; and puts in "empty" (zero) values for each month.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Nov 2015 23:24:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282875#M17878</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-11-15T23:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: sparkline on the basis of column results</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282876#M17879</link>
      <description>&lt;P&gt;Woodcock,&lt;/P&gt;

&lt;P&gt;Thanks for the solution, I am not getting expected result in graph if I am adjusting to 3 months also. it seems that sparkline is working on time chart basis only. &lt;BR /&gt;
Thanks for addressing my issue.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:40:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/sparkline-on-the-basis-of-column-results/m-p/282876#M17879</guid>
      <dc:creator>vranjith009</dc:creator>
      <dc:date>2015-11-27T12:40:48Z</dc:date>
    </item>
  </channel>
</rss>

