<?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 develop a timechart that will show multiple events and the time the events occurred? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248482#M74169</link>
    <description>&lt;P&gt;I am still having trouble with the achieving the above requirement. I have upgraded splunk to 6.4 and tried using Timeline app but no luck. Any help would be really appreciated.&lt;BR /&gt;
 Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 23 Jan 2017 20:03:25 GMT</pubDate>
    <dc:creator>duraij</dc:creator>
    <dc:date>2017-01-23T20:03:25Z</dc:date>
    <item>
      <title>How to develop a timechart that will show multiple events and the time the events occurred?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248477#M74164</link>
      <description>&lt;P&gt;Hi, I am trying to plot a multiseries timechart. Trying to plot the multiple events and the time the events occurred.&lt;/P&gt;

&lt;P&gt;For example: for Date '01Nov', Event1 occurred at 10AM, Event 2 occurred at 11AM, etc. I have 5 events for a given date. Please guide me in how to plot all the details in the line/column graph. My data looks like this (first row is the headers).&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Value_Date  REGION AREA  SLA TIME   EVENT2 TIME   EVENT3 TIME   EVENT4 TIME   EVENT5 TIME   EVENT6 TIME   EVENT7 TIME

11/2/2016   EMEA         WMSB      11/2/16 8:30 AM    11/2/16 11:23 AM   11/2/16 11:23 AM   11/2/16 11:48 AM    11/2/16 11:47 AM    11/2/16 11:41 AM    11/2/16 12:06 PM
11/2/2016   AMER         Credit     11/2/16 8:00 AM 11/2/16 6:15 AM 11/2/16 6:18 AM  11/2/16 7:16 AM    11/2/16 6:40 AM 11/2/16 6:25 AM 11/2/16 7:06 AM
11/2/2016   EMEA         Credit     11/2/16 4:00 AM 11/1/16 10:13 PM   11/1/16 10:16 PM 11/1/16 10:53 PM    11/1/16 10:53 PM    11/1/16 10:23 PM    11/1/16 10:27 PM
11/2/2016   Global       FXMM       11/2/16 4:00 AM 11/2/16 3:02 AM 11/2/16 3:20 AM  11/2/16 4:15 AM    11/2/16 3:48 AM 11/2/16 3:43 AM 11/2/16 3:51 AM
11/2/2016   Global       FXMM       11/2/16 4:00 AM 11/2/16 12:29 PM   11/2/16 12:31 PM 11/2/16 12:48 PM    11/2/16 12:51 PM    11/2/16 2:18 AM 11/2/16 1:11 PM
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Nov 2016 17:13:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248477#M74164</guid>
      <dc:creator>duraij</dc:creator>
      <dc:date>2016-11-28T17:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a timechart that will show multiple events and the time the events occurred?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248478#M74165</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | stats span=1d earliest(eval(if(event="event1", _time, null()))) as E1_Time earliest(eval(if(event="event2", _time, null()))) as E2_Time earliest(eval(if(event="event3", _time, null()))) as E3_Time etc etc by _time region_are sla_time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Nov 2016 22:34:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248478#M74165</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-11-28T22:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a timechart that will show multiple events and the time the events occurred?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248479#M74166</link>
      <description>&lt;P&gt;Thanks for your reply but it didn't work. Also I can't use _time in my search instead I have to use Value_Date. The Problem I am facing is I am not able to show the actual Eventtime in the Y axis. Expecting Region, Area in the X Axis and Eventstime in the Y axis (as 24hrs Window). My current search looks like below.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;base search | eval new_value_date=strptime(VALUE_DATE, "%Y-%m-%d %H:%M:%S")| convert ctime(new_value_date) , timeformat="%Y-%m-%d"|eval rptid=new_value_date."_".SYSTEM_NAME."_".REGION."_".AREA."_".ROLL_REQUEST_ID| eval s1="1_new_value_date 2_Event2  3_Event3 6_Event6  7_Event7 4_Event4  5_Event5  8_SLA_DATE" | makemv s1 | mvexpand s1 | eval yval=case(s1=="1_new_value_date",new_value_date,s1=="6_Event6",Event6 ,s1=="7_Event7",Event7,s1=="4_Event4",Event4,s1=="5_Event5",Event5,s1=="2_Event2",Event2,s1=="3_Event3",Event3,s1=="8_SLA_DATE",SLA_DATE)  | eval yval=if(s1=="1_new_value_date",strptime(VALUE_DATE, "%F"),strptime(yval, "%F %H:%M:%S")) | eval time=yval | eval series=rptid  | fields time s1 rptid yval SLA_DATE | eventstats first(_time) AS start BY rptid | stats max(time) AS time BY s1 rptid new_value_date | fieldformat time=strftime(time,"%F %H:%M:%S") | xyseries s1 rptid time
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248479#M74166</guid>
      <dc:creator>duraij</dc:creator>
      <dc:date>2020-09-29T11:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a timechart that will show multiple events and the time the events occurred?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248480#M74167</link>
      <description>&lt;P&gt;I am still having trouble with the achieving the above requirement. I have upgraded splunk to 6.4 and tried using Timeline app but no luck. Any help would be really appreciated.&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 15:41:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248480#M74167</guid>
      <dc:creator>duraij</dc:creator>
      <dc:date>2017-01-23T15:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a timechart that will show multiple events and the time the events occurred?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248481#M74168</link>
      <description>&lt;P&gt;I am still having trouble with the achieving the above requirement. I have upgraded splunk to 6.4 and tried using Timeline app but no luck. Any help would be really appreciated.&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:02:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248481#M74168</guid>
      <dc:creator>duraij</dc:creator>
      <dc:date>2017-01-23T20:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a timechart that will show multiple events and the time the events occurred?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248482#M74169</link>
      <description>&lt;P&gt;I am still having trouble with the achieving the above requirement. I have upgraded splunk to 6.4 and tried using Timeline app but no luck. Any help would be really appreciated.&lt;BR /&gt;
 Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:03:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248482#M74169</guid>
      <dc:creator>duraij</dc:creator>
      <dc:date>2017-01-23T20:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a timechart that will show multiple events and the time the events occurred?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248483#M74170</link>
      <description>&lt;P&gt;I am still having trouble with the achieving the above requirement. I have upgraded splunk to 6.4 and tried using Timeline app but no luck. Any help would be really appreciated.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:03:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248483#M74170</guid>
      <dc:creator>duraij</dc:creator>
      <dc:date>2017-01-23T20:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to develop a timechart that will show multiple events and the time the events occurred?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248484#M74171</link>
      <description>&lt;P&gt;I am still having trouble with the achieving the above requirement. I have upgraded splunk to 6.4 and tried using Timeline app but no luck. Any help would be really appreciated.&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:04:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-develop-a-timechart-that-will-show-multiple-events-and/m-p/248484#M74171</guid>
      <dc:creator>duraij</dc:creator>
      <dc:date>2017-01-23T20:04:09Z</dc:date>
    </item>
  </channel>
</rss>

