<?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: Create a graph with time fields different than event's timestamp in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Create-a-graph-with-time-fields-different-than-event-s-timestamp/m-p/178532#M51339</link>
    <description>&lt;P&gt;I do not understand your answer.  Could you explain how your answer could help me? &lt;/P&gt;</description>
    <pubDate>Fri, 01 May 2015 17:12:10 GMT</pubDate>
    <dc:creator>edrivera3</dc:creator>
    <dc:date>2015-05-01T17:12:10Z</dc:date>
    <item>
      <title>Create a graph with time fields different than event's timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-a-graph-with-time-fields-different-than-event-s-timestamp/m-p/178529#M51336</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
In my events I have the following fields:&lt;BR /&gt;
 1. Initial_time (This is different than event's timestamp) (format=string)&lt;BR /&gt;
 2. End_time (This is different than event's timestamp) (format=string)&lt;BR /&gt;
 3. Process Name (format=string)&lt;/P&gt;

&lt;P&gt;I am interested to create a graph which has time in x-axis and process names in y-axis. I want to show the multiple processes and duration time of each of them in the graph. I am not sure if this possible. &lt;/P&gt;

&lt;P&gt;I already strptime() both time fields so now I can manipulate them.&lt;/P&gt;

&lt;P&gt;If this is not possible. Is there a way to get  something similar with a different graph. I want to see the duration of each of the process simultaneously and see if they overlap during some period of time.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-a-graph-with-time-fields-different-than-event-s-timestamp/m-p/178529#M51336</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2020-09-28T19:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Create a graph with time fields different than event's timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-a-graph-with-time-fields-different-than-event-s-timestamp/m-p/178530#M51337</link>
      <description>&lt;P&gt;This is what I have already:&lt;BR /&gt;
(Both time fields are multivalue fields so I am only interested in the minimum value of ini_time and maximum value of end_time.)&lt;/P&gt;

&lt;P&gt;...| eval ini_stamp=strptime(ini_time,"%b %d %H:%M:%S %Y") | eval end_stamp=strptime(end_time,"%b %d %H:%M:%S %Y") | stats max(end_stamp) AS high min(ini_stamp) AS low by process_name| eval duration = high - low&lt;/P&gt;

&lt;P&gt;So basically I also have the duration time  of process_name&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:48:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-a-graph-with-time-fields-different-than-event-s-timestamp/m-p/178530#M51337</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2020-09-28T19:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Create a graph with time fields different than event's timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-a-graph-with-time-fields-different-than-event-s-timestamp/m-p/178531#M51338</link>
      <description>&lt;P&gt;try this:&lt;BR /&gt;
..........|stats .......................over yourField&lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2015 16:29:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-a-graph-with-time-fields-different-than-event-s-timestamp/m-p/178531#M51338</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2015-05-01T16:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Create a graph with time fields different than event's timestamp</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Create-a-graph-with-time-fields-different-than-event-s-timestamp/m-p/178532#M51339</link>
      <description>&lt;P&gt;I do not understand your answer.  Could you explain how your answer could help me? &lt;/P&gt;</description>
      <pubDate>Fri, 01 May 2015 17:12:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Create-a-graph-with-time-fields-different-than-event-s-timestamp/m-p/178532#M51339</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-05-01T17:12:10Z</dc:date>
    </item>
  </channel>
</rss>

