<?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: Individual results for stats in a chart. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353985#M104772</link>
    <description>&lt;P&gt;Brilliant thanks. It needs a little tweaking ( more cosmetic than anything else) but it's sent me down the right path.&lt;/P&gt;

&lt;P&gt;I can normally brute force my way when learning new systems, but it's nice to have help when you need it and coming from a non-db / programming backgrounding, this forum is a great help thanks to the contribrutors.&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2017 13:24:25 GMT</pubDate>
    <dc:creator>StuReeves</dc:creator>
    <dc:date>2017-04-28T13:24:25Z</dc:date>
    <item>
      <title>Individual results for stats in a chart.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353979#M104766</link>
      <description>&lt;P&gt;I'm pretty sure this is going to be very obvious but it's one of those days again.&lt;/P&gt;

&lt;P&gt;I've a field Duration_Seconds to establish length of calls going through the system. I'm trying to display say the top 20 longest calls, however, whatever I try, it basis the results on total count, not length.&lt;/P&gt;

&lt;P&gt;So even if I have a hundred calls at 30 seconds long that's not what I'm after, I,m after the individual call at 12257 seconds, 10545 seconds, 10140 seconds etc. However, if I have 5 calls at 900 seconds, I still need to see those as separate instances.&lt;/P&gt;

&lt;P&gt;Does that make sense?&lt;/P&gt;

&lt;P&gt;The search I'm using is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=*|search Code_Dialled=9 Duration_Seconds=* |sort - "Duration_Seconds"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;which gives me it as a search, it's the last bit I'm stumped on.&lt;/P&gt;

&lt;P&gt;Thanks again,&lt;BR /&gt;
Stu..&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 10:26:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353979#M104766</guid>
      <dc:creator>StuReeves</dc:creator>
      <dc:date>2017-04-28T10:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Individual results for stats in a chart.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353980#M104767</link>
      <description>&lt;P&gt;This is what I think you want. Note, your &lt;CODE&gt;search&lt;/CODE&gt; pipeline segment should be moved to the first part of the query. Here is what i mean.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;host=* Code_Dialled=9 Duration_Seconds=* | sort 20 -"Duration_Seconds"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:10:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353980#M104767</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-04-28T11:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Individual results for stats in a chart.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353981#M104768</link>
      <description>&lt;P&gt;Hi thanks for getting back. It gives pretty much what i already have. The issue is when I try and chart it say using top 100 "Call_Duration" it goes back to giving me the top number by count, so I have 5 calls at 425 seconds as my number one in the chart. I'd ideally like to show say the top 20 / 50, so if I have 5 calls all at 999, they are all shown as individual calls.&lt;BR /&gt;
So if I search it give me the below, which is perfect.&lt;/P&gt;

&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/2845i0557BE63064359AF/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;But what I actually get using, say Top 20.... is&lt;BR /&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/2846i18B04C12E24D5092/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;Hopefully this makes a little more sense&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:01:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353981#M104768</guid>
      <dc:creator>StuReeves</dc:creator>
      <dc:date>2017-04-28T12:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Individual results for stats in a chart.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353982#M104769</link>
      <description>&lt;P&gt;First, when responding to an answer, it is best to put your response as a comment to the answer and not a new answer. Use the "Add comment" link below the answer to do  this.&lt;/P&gt;

&lt;P&gt;Regarding your question. What do you want on the x-axis of the chart? Do you want time? If not, please clarify.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:54:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353982#M104769</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-04-28T12:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Individual results for stats in a chart.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353983#M104770</link>
      <description>&lt;P&gt;Ooops sorry about that.&lt;/P&gt;

&lt;P&gt;Good point on the X axis never thought about that.&lt;BR /&gt;
It would be a field called Called_Number (not shown on the sample)&lt;/P&gt;

&lt;P&gt;So X would be the number they dialled and Y would be the amount of time they spent on that (long) call.&lt;/P&gt;

&lt;P&gt;Thanks again,&lt;/P&gt;

&lt;P&gt;Stu..&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:11:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353983#M104770</guid>
      <dc:creator>StuReeves</dc:creator>
      <dc:date>2017-04-28T13:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Individual results for stats in a chart.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353984#M104771</link>
      <description>&lt;P&gt;Then try this search.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;host=* Code_Dialled=9 Duration_Seconds=* | sort 20 -"Duration_Seconds | table "Called_Number" "Duration_Seconds"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;And play with that in the Search app where you can choose a Column chart.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:16:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353984#M104771</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-04-28T13:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Individual results for stats in a chart.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353985#M104772</link>
      <description>&lt;P&gt;Brilliant thanks. It needs a little tweaking ( more cosmetic than anything else) but it's sent me down the right path.&lt;/P&gt;

&lt;P&gt;I can normally brute force my way when learning new systems, but it's nice to have help when you need it and coming from a non-db / programming backgrounding, this forum is a great help thanks to the contribrutors.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:24:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Individual-results-for-stats-in-a-chart/m-p/353985#M104772</guid>
      <dc:creator>StuReeves</dc:creator>
      <dc:date>2017-04-28T13:24:25Z</dc:date>
    </item>
  </channel>
</rss>

