<?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: How to make a barchart with start time, duration by resource in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193851#M55871</link>
    <description>&lt;P&gt;The search is as follows:&lt;BR /&gt;
eventtype=TWS_logs eventtype=TWS_job_events NOT (userID = "TWSD01" OR userID = "TWSP01") submitName=* NOT submitName=TWSON* (eventText="TWS_Job_Abend" OR eventText="TWS_Job_Failed" OR eventText="TWS_Job_Launched" OR eventText="TWS_Job_Done") | dedup _raw | eval label=submitName."-".jobNumber | timechart limit=0 first(jobNumber) by label&lt;/P&gt;

&lt;P&gt;And what I end up with, is a result set like this:&lt;BR /&gt;
&lt;IMG src="http://answers.splunk.com//storage/Splunk_result.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Where the four arrows indicate the unique number, and a name wich is concatenated as a label&lt;/P&gt;

&lt;P&gt;The end result is as follows:&lt;BR /&gt;
&lt;IMG src="http://answers.splunk.com//storage/Splunk_end_result.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;The graph is rather large, so I have just taken a small portion.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 17:29:13 GMT</pubDate>
    <dc:creator>las</dc:creator>
    <dc:date>2020-09-28T17:29:13Z</dc:date>
    <item>
      <title>How to make a barchart with start time, duration by resource</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193843#M55863</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;

&lt;P&gt;I would like to make a bar chart, where date/time is on the X-axis, and the resource is the Y-axis, the bar should start at _time, and have a length of duration.&lt;BR /&gt;&lt;BR /&gt;
Is this possible using only base Splunk 6.1, or is it necessary to download and install additional apps?&lt;BR /&gt;&lt;BR /&gt;
If it is possible what would the chart look like?&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 12:06:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193843#M55863</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2014-08-25T12:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a barchart with start time, duration by resource</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193844#M55864</link>
      <description>&lt;P&gt;Hi las,&lt;/P&gt;

&lt;P&gt;take this run everywhere example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index=_internal | chart values(kb) over series by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this will generate a bar graph like this:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/Bildschirmfoto_vom_2014-08-25_14:14:31.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 12:15:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193844#M55864</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-08-25T12:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a barchart with start time, duration by resource</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193845#M55865</link>
      <description>&lt;P&gt;Hi MuS.&lt;BR /&gt;&lt;BR /&gt;
Yes, but all the bars start at zero, what I would like was for the individual bar to start at the time indicated by _time in the event, and have the length indicated by duration, and then have the X-axis as _time.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 12:25:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193845#M55865</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2014-08-25T12:25:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a barchart with start time, duration by resource</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193846#M55866</link>
      <description>&lt;P&gt;more like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=_internal | chart values(kb) over _time by series
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 12:54:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193846#M55866</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-08-25T12:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a barchart with start time, duration by resource</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193847#M55867</link>
      <description>&lt;P&gt;Are looking for gantt chart? May be this?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://apps.splunk.com/app/1741/"&gt;https://apps.splunk.com/app/1741/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also checkout this.&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/1644/building-a-gantt-chart"&gt;http://answers.splunk.com/answers/1644/building-a-gantt-chart&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2014 13:11:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193847#M55867</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-08-25T13:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a barchart with start time, duration by resource</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193848#M55868</link>
      <description>&lt;P&gt;Yes, that is something in the line I was looking for.&lt;BR /&gt;
It took some time, but I got the gist, and found a solution, that works for me based on the example.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 08:12:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193848#M55868</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2014-09-04T08:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a barchart with start time, duration by resource</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193849#M55869</link>
      <description>&lt;P&gt;The trick is to have a start and end event, with a unique number, and then do a line graf on that number. That will produce a nice horisontal line, spanning from start to end.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 08:14:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193849#M55869</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2014-09-04T08:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a barchart with start time, duration by resource</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193850#M55870</link>
      <description>&lt;P&gt;could you share the search and the resulting graph, please?&lt;/P&gt;</description>
      <pubDate>Thu, 04 Sep 2014 09:41:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193850#M55870</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-09-04T09:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to make a barchart with start time, duration by resource</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193851#M55871</link>
      <description>&lt;P&gt;The search is as follows:&lt;BR /&gt;
eventtype=TWS_logs eventtype=TWS_job_events NOT (userID = "TWSD01" OR userID = "TWSP01") submitName=* NOT submitName=TWSON* (eventText="TWS_Job_Abend" OR eventText="TWS_Job_Failed" OR eventText="TWS_Job_Launched" OR eventText="TWS_Job_Done") | dedup _raw | eval label=submitName."-".jobNumber | timechart limit=0 first(jobNumber) by label&lt;/P&gt;

&lt;P&gt;And what I end up with, is a result set like this:&lt;BR /&gt;
&lt;IMG src="http://answers.splunk.com//storage/Splunk_result.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;Where the four arrows indicate the unique number, and a name wich is concatenated as a label&lt;/P&gt;

&lt;P&gt;The end result is as follows:&lt;BR /&gt;
&lt;IMG src="http://answers.splunk.com//storage/Splunk_end_result.jpg" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;The graph is rather large, so I have just taken a small portion.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:29:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-a-barchart-with-start-time-duration-by-resource/m-p/193851#M55871</guid>
      <dc:creator>las</dc:creator>
      <dc:date>2020-09-28T17:29:13Z</dc:date>
    </item>
  </channel>
</rss>

