<?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 dispaly chart with start time ,duration by application in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479085#M45895</link>
    <description>&lt;P&gt;How about &lt;CODE&gt;Area Chart&lt;/CODE&gt;?&lt;/P&gt;</description>
    <pubDate>Wed, 22 Apr 2020 12:43:22 GMT</pubDate>
    <dc:creator>to4kawa</dc:creator>
    <dc:date>2020-04-22T12:43:22Z</dc:date>
    <item>
      <title>How to dispaly chart with start time ,duration by application</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479082#M45892</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;I wanted to show the Application running on line chart. Process start_time is _time and have duration and application .&lt;BR /&gt;
Wanted to show the chart by application which starts at _time and comes down after the given duration.&lt;/P&gt;

&lt;P&gt;For example, below is two events:&lt;BR /&gt;
_time                              host  duration   Application&lt;BR /&gt;
2020-04-21 16:51:29   ABC   01:43       XXXX&lt;BR /&gt;&lt;BR /&gt;
2020-04-21 16:46:29 ABC  03:56      XXXX&lt;BR /&gt;&lt;BR /&gt;
2020-04-21 16:56:29 ABC  06:43      YYYY    &lt;/P&gt;

&lt;P&gt;so, first event it should show the line goes up at 2020-04-21 16:51:29 and after 1:43 duration line goes down.&lt;/P&gt;

&lt;P&gt;Is this possible? Please suggest.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 09:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479082#M45892</guid>
      <dc:creator>avni26</dc:creator>
      <dc:date>2020-04-22T09:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to dispaly chart with start time ,duration by application</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479083#M45893</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;| makeresults
| eval _raw="_time,host,duration,Application
2020-04-21 16:51:29,ABC,01:43,XXXX
2020-04-21 16:46:29,ABC,03:56,XXXX
2020-04-21 16:56:29,ABC,06:43,YYYY"
| multikv forceheader=1
| table time,host,duration,Application
| eval duration2=tonumber(mvindex(split(duration,":"),0))*60+tonumber(mvindex(split(duration,":"),1))
| eval _time=strptime(time,"%F %T")
| eval time2=_time+duration2
| eval time=mvappend(_time,time2)
| streamstats count as session
| mvexpand time
| eval _time=time
| reverse
| streamstats current=f count as check by session
| reverse
| eval check=check*10
| table _time Application check
| xyseries _time Application check
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="Line Chart"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/8721i6E37B01EAEB39408/image-size/large?v=v2&amp;amp;px=999" role="button" title="Line Chart" alt="Line Chart" /&gt;&lt;/span&gt;&lt;BR /&gt;
 maybe, you can do it.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 10:25:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479083#M45893</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-22T10:25:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to dispaly chart with start time ,duration by application</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479084#M45894</link>
      <description>&lt;P&gt;@to4kawa thank you for your reply. &lt;BR /&gt;
Is it possible to show in line chart like for example  at 4:46 PM line goes up (vertically) and it will horizontal till duration (3:56) and then at that point its comes down. ??&lt;/P&gt;

&lt;P&gt;if possible , then please suggest how to achieve it.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 11:36:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479084#M45894</guid>
      <dc:creator>avni26</dc:creator>
      <dc:date>2020-04-22T11:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to dispaly chart with start time ,duration by application</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479085#M45895</link>
      <description>&lt;P&gt;How about &lt;CODE&gt;Area Chart&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 12:43:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479085#M45895</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-22T12:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to dispaly chart with start time ,duration by application</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479086#M45896</link>
      <description>&lt;P&gt;@to4kawa yes, we can show. Any sample query please to show area covered on that duration?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 14:37:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479086#M45896</guid>
      <dc:creator>avni26</dc:creator>
      <dc:date>2020-04-22T14:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to dispaly chart with start time ,duration by application</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479087#M45897</link>
      <description>&lt;OL&gt;
&lt;LI&gt;make &lt;CODE&gt;time3&lt;/CODE&gt;like same making &lt;CODE&gt;time2&lt;/CODE&gt; and &lt;CODE&gt;mvappend&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;modify &lt;CODE&gt;check&lt;/CODE&gt; calculation with &lt;EM&gt;case()&lt;/EM&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;you need three values by each Application&lt;/P&gt;

&lt;P&gt;you can do it&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 20:42:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-dispaly-chart-with-start-time-duration-by-application/m-p/479087#M45897</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-04-22T20:42:06Z</dc:date>
    </item>
  </channel>
</rss>

