<?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 outcome of stats into timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71930#M17983</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;host=myserver JobWrapper | transaction keepevicted=true jobid 
| where job="provisioningJob" | stats max(duration) AS readytime by jobcallerref 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;our logfiles has different provisioningJobs for each user (identified by the jobcallerref), the 'readytime', the time before the user is fully provisioned is determined by the longest running job.&lt;/P&gt;

&lt;P&gt;with the above query i get a list of the longest durations for each user.&lt;/P&gt;

&lt;P&gt;now i would like to chart it over time ... i am no longer interested in tje jobcallerref, so i want to graph those 'readytime's over the time they occured. &lt;/P&gt;

&lt;P&gt;can't figure out how to feed these results back into a timechart ... &lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2011 17:43:50 GMT</pubDate>
    <dc:creator>bowa</dc:creator>
    <dc:date>2011-03-31T17:43:50Z</dc:date>
    <item>
      <title>outcome of stats into timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71930#M17983</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;host=myserver JobWrapper | transaction keepevicted=true jobid 
| where job="provisioningJob" | stats max(duration) AS readytime by jobcallerref 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;our logfiles has different provisioningJobs for each user (identified by the jobcallerref), the 'readytime', the time before the user is fully provisioned is determined by the longest running job.&lt;/P&gt;

&lt;P&gt;with the above query i get a list of the longest durations for each user.&lt;/P&gt;

&lt;P&gt;now i would like to chart it over time ... i am no longer interested in tje jobcallerref, so i want to graph those 'readytime's over the time they occured. &lt;/P&gt;

&lt;P&gt;can't figure out how to feed these results back into a timechart ... &lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 17:43:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71930#M17983</guid>
      <dc:creator>bowa</dc:creator>
      <dc:date>2011-03-31T17:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: outcome of stats into timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71931#M17984</link>
      <description>&lt;P&gt;I hope that one works (you'd change span value to something smaller/bigger)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=myserver JobWrapper | transaction keepevicted=true jobid | where job="provisioningJob" | timechart span=10m max(duration) by jobcallerref 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 31 Mar 2011 18:41:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71931#M17984</guid>
      <dc:creator>LCM</dc:creator>
      <dc:date>2011-03-31T18:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: outcome of stats into timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71932#M17985</link>
      <description>&lt;P&gt;thats not what i ment ... i am no longer interested in the jobcallerrefs in the chart ... just those max values.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 18:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71932#M17985</guid>
      <dc:creator>bowa</dc:creator>
      <dc:date>2011-03-31T18:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: outcome of stats into timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71933#M17986</link>
      <description>&lt;P&gt;hmm, not sure and running out of options &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; . . .&lt;/P&gt;

&lt;P&gt;search | timechart span=10m max(duration) by duration&lt;BR /&gt;
search | timechart span=10m max(duration)&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 19:31:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71933#M17986</guid>
      <dc:creator>LCM</dc:creator>
      <dc:date>2011-03-31T19:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: outcome of stats into timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71934#M17987</link>
      <description>&lt;P&gt;i think its just not possible ...&lt;/P&gt;

&lt;P&gt;this post is pretty related : &lt;A href="http://answers.splunk.com/questions/4142/weirdness-using-max-and-min-in-eval-operating-on-numeric-multivalue-fields"&gt;http://answers.splunk.com/questions/4142/weirdness-using-max-and-min-in-eval-operating-on-numeric-multivalue-fields&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;the fact that the max() can only be used with stats, timechart and chart is the basic problem ... i would like to use it as a filter, only continue with the max values from multi-value fields.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 19:51:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71934#M17987</guid>
      <dc:creator>bowa</dc:creator>
      <dc:date>2011-03-31T19:51:33Z</dc:date>
    </item>
    <item>
      <title>Re: outcome of stats into timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71935#M17988</link>
      <description>&lt;P&gt;alright, and sorry for not helping at all - I rate your question up, so maybe some smart guys can take care, or request a feature &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2011 19:57:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71935#M17988</guid>
      <dc:creator>LCM</dc:creator>
      <dc:date>2011-03-31T19:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: outcome of stats into timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71936#M17989</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| stats max(duration) AS readytime, max(_time) as _time by jobcallerref |fields + _time, readytime
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Finally found something in the direction of what i want ... the trick was to do also a max() or min() or something on the _time field&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2011 13:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71936#M17989</guid>
      <dc:creator>bowa</dc:creator>
      <dc:date>2011-04-01T13:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: outcome of stats into timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71937#M17990</link>
      <description>&lt;P&gt;Sounds like you're getting there.  Timechart doesnt know what &lt;EM&gt;kind&lt;/EM&gt; of rows you're giving it. Just as long as you give it a _time field it'll happily chart the rows as though they were events.  &lt;/P&gt;

&lt;P&gt;So this might get you a step closer. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host=myserver JobWrapper | transaction keepevicted=true jobid 
| where job="provisioningJob" | stats max(_time) as _time max(duration) AS readytime by jobcallerref 
| timechart max(readytime) by jobcallerref 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;although i suspect you may be hoping for something closer to a Gantt chart, which cant really be done.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2011 14:02:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/outcome-of-stats-into-timechart/m-p/71937#M17990</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2011-04-01T14:02:05Z</dc:date>
    </item>
  </channel>
</rss>

