<?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: Chart with values only in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157046#M44195</link>
    <description>&lt;P&gt;Thanks for the replies.&lt;BR /&gt;
@cpetterborg: x-axis will be used for percentile bucketing. &lt;BR /&gt;
If I have 10 records - with latencies [100, 50,  90, 10, 10, 10, 50, 10, 50, 100], then i just want to know the percentile values of Latencies. &lt;BR /&gt;
Assume rest of the columns are ir-relevant here.&lt;/P&gt;

&lt;P&gt;After sorting, the values are [10, 10, 10, 10, 50, 50, 90, 90, 100, 100]&lt;BR /&gt;
In the x-axis, the 1st thru 4th bar will have a height of 10, 4th-5th will have a height of 50 and so on.&lt;BR /&gt;
I would like to retain the duplicates as it is relevant to percentile calculations.&lt;BR /&gt;
In general, given a set of values (sorted or not) how to chart them?&lt;/P&gt;

&lt;P&gt;What will in infer from this chart:&lt;BR /&gt;
40th percentile have 10ms Latency, 60th percentile have a latency of 50ms, ...&lt;/P&gt;

&lt;P&gt;@ramdaspr: The group by url and Max is messing up the results. I would like to have all values and not just the max values.&lt;/P&gt;

&lt;P&gt;All I need is given values, [10, 50, 20, 100, 10], how to chart it like x-axis contains 5 bars and y-axis having values 0-100?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2015 05:53:32 GMT</pubDate>
    <dc:creator>vdevarayan</dc:creator>
    <dc:date>2015-02-23T05:53:32Z</dc:date>
    <item>
      <title>Chart with values only</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157043#M44192</link>
      <description>&lt;P&gt;I have a comma separated logfile. Lets assume the columns are url, latency.&lt;BR /&gt;
Example records are like this:&lt;BR /&gt;
abc,100&lt;BR /&gt;
cde,10&lt;BR /&gt;
zzz, 50&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;Now, I am interested a simple bar/line chart over the sorted values of second column (latency)&lt;BR /&gt;
After sorting, my values are 10, 50, 100.&lt;BR /&gt;
When an event happened is not important - bcos i am interested in the sorted values (so timechart is out question)&lt;BR /&gt;
X-axis will have bars and y axis will have numbers (indicating latency values/limits)&lt;/P&gt;

&lt;P&gt;I can get the sorted values easily - but charting on just the values is what giving me trouble.&lt;/P&gt;

&lt;P&gt;Any suggestions? &lt;/P&gt;</description>
      <pubDate>Sat, 21 Feb 2015 18:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157043#M44192</guid>
      <dc:creator>vdevarayan</dc:creator>
      <dc:date>2015-02-21T18:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with values only</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157044#M44193</link>
      <description>&lt;P&gt;Is the x-axis supposed to represent the count, url, or what, if the y-axis is the latency values?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 03:31:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157044#M44193</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2015-02-23T03:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with values only</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157045#M44194</link>
      <description>&lt;P&gt;If I didnt misunderstand the question, you should be able to get a sorted chart using the below query which will pick up the maximum latency per url and then sort it so that your graph will be sorted.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| chart max(latency) as MaxLat by url | sort MaxLat
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Feb 2015 04:09:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157045#M44194</guid>
      <dc:creator>ramdaspr</dc:creator>
      <dc:date>2015-02-23T04:09:47Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with values only</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157046#M44195</link>
      <description>&lt;P&gt;Thanks for the replies.&lt;BR /&gt;
@cpetterborg: x-axis will be used for percentile bucketing. &lt;BR /&gt;
If I have 10 records - with latencies [100, 50,  90, 10, 10, 10, 50, 10, 50, 100], then i just want to know the percentile values of Latencies. &lt;BR /&gt;
Assume rest of the columns are ir-relevant here.&lt;/P&gt;

&lt;P&gt;After sorting, the values are [10, 10, 10, 10, 50, 50, 90, 90, 100, 100]&lt;BR /&gt;
In the x-axis, the 1st thru 4th bar will have a height of 10, 4th-5th will have a height of 50 and so on.&lt;BR /&gt;
I would like to retain the duplicates as it is relevant to percentile calculations.&lt;BR /&gt;
In general, given a set of values (sorted or not) how to chart them?&lt;/P&gt;

&lt;P&gt;What will in infer from this chart:&lt;BR /&gt;
40th percentile have 10ms Latency, 60th percentile have a latency of 50ms, ...&lt;/P&gt;

&lt;P&gt;@ramdaspr: The group by url and Max is messing up the results. I would like to have all values and not just the max values.&lt;/P&gt;

&lt;P&gt;All I need is given values, [10, 50, 20, 100, 10], how to chart it like x-axis contains 5 bars and y-axis having values 0-100?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 05:53:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157046#M44195</guid>
      <dc:creator>vdevarayan</dc:creator>
      <dc:date>2015-02-23T05:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with values only</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157047#M44196</link>
      <description>&lt;P&gt;Assuming you know what percentiles you are planning on plotting then its fairly simple. If you don't then it isnt and you can probably stop reading now else continue..&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| chart perc50(latency) as p50, perc75(latency) as p75, perc95(latency) as p95 | transpose | rename "row 1" as Latency | sort - Latency
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Of course, this means that the latency graphing is captured without any relation to which url has latency issues..&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 06:21:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157047#M44196</guid>
      <dc:creator>ramdaspr</dc:creator>
      <dc:date>2015-02-23T06:21:58Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with values only</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157048#M44197</link>
      <description>&lt;P&gt;@ramdaspr - that worked thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;However, could you answer the second part - which is (simply given values - that i can extract out sorted in some specific way), what is the best way to chart them - line/bar/column?&lt;/P&gt;

&lt;P&gt;Example:&lt;BR /&gt;
Given these values, [10, 50, 20, 100, 10], how to chart it like x-axis contains 5 bars and y-axis having values 0-100?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 06:35:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157048#M44197</guid>
      <dc:creator>vdevarayan</dc:creator>
      <dc:date>2015-02-23T06:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: Chart with values only</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157049#M44198</link>
      <description>&lt;P&gt;How you want to display them depends on what you are trying to show with the data.&lt;/P&gt;

&lt;P&gt;Each graph type is useful for a particular reason. You can read a bit more &lt;A href="http://www.mathgoodies.com/lessons/graphs/compare_graphs.html"&gt;here&lt;/A&gt; and &lt;A href="http://www.tutorial9.net/tutorials/web-tutorials/selecting-the-right-chart-type-for-your-data/"&gt;here&lt;/A&gt; [both are external sites]&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 06:43:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Chart-with-values-only/m-p/157049#M44198</guid>
      <dc:creator>ramdaspr</dc:creator>
      <dc:date>2015-02-23T06:43:21Z</dc:date>
    </item>
  </channel>
</rss>

