<?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 calculate the starttime and endtime between duration ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-calculate-the-starttime-and-endtime-between-duration/m-p/450327#M173121</link>
    <description>&lt;P&gt;ignore above comment &lt;BR /&gt;
it's working&lt;/P&gt;

&lt;P&gt;thank you Chrisyongerjds&lt;/P&gt;</description>
    <pubDate>Sun, 10 Feb 2019 09:44:16 GMT</pubDate>
    <dc:creator>babukumarreddy</dc:creator>
    <dc:date>2019-02-10T09:44:16Z</dc:date>
    <item>
      <title>how to calculate the starttime and endtime between duration ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-calculate-the-starttime-and-endtime-between-duration/m-p/450324#M173118</link>
      <description>&lt;P&gt;actually iam new to splunk&lt;/P&gt;

&lt;P&gt;in my logs starttime and endtime is there need to calculate duration&lt;BR /&gt;
starttime endtime&lt;BR /&gt;
|01-feb-2019 01:30:18|01-feb-2019 01:30:28&lt;/P&gt;

&lt;P&gt;fieldnames are starttime and endtime&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 09:26:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-calculate-the-starttime-and-endtime-between-duration/m-p/450324#M173118</guid>
      <dc:creator>babukumarreddy</dc:creator>
      <dc:date>2019-02-10T09:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate the starttime and endtime between duration ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-calculate-the-starttime-and-endtime-between-duration/m-p/450325#M173119</link>
      <description>&lt;P&gt;Try this: &lt;CODE&gt;|eval d1 = strptime(starttime, "%d-%b-%Y %H:%M:%S") | eval d2 = strptime(endtime, "%d-%b-%Y %H:%M:%S") | eval duration_in_seconds = d1 - d2&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 09:34:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-calculate-the-starttime-and-endtime-between-duration/m-p/450325#M173119</guid>
      <dc:creator>chrisyounger</dc:creator>
      <dc:date>2019-02-10T09:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate the starttime and endtime between duration ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-calculate-the-starttime-and-endtime-between-duration/m-p/450326#M173120</link>
      <description>&lt;P&gt;Hi Chrisyongerjds&lt;/P&gt;

&lt;P&gt;its not working&lt;/P&gt;

&lt;P&gt;index="starttime"|eval d1 = strptime(starttime, "%d-%m-%Y %H:%M:%S") | eval d2 = strptime(endtime, "%d-%m-%Y %H:%M:%S") | eval duration_in_seconds = d1 - d2|table starttime endtime duration_in_seconds&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-calculate-the-starttime-and-endtime-between-duration/m-p/450326#M173120</guid>
      <dc:creator>babukumarreddy</dc:creator>
      <dc:date>2020-09-29T23:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate the starttime and endtime between duration ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-calculate-the-starttime-and-endtime-between-duration/m-p/450327#M173121</link>
      <description>&lt;P&gt;ignore above comment &lt;BR /&gt;
it's working&lt;/P&gt;

&lt;P&gt;thank you Chrisyongerjds&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 09:44:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-calculate-the-starttime-and-endtime-between-duration/m-p/450327#M173121</guid>
      <dc:creator>babukumarreddy</dc:creator>
      <dc:date>2019-02-10T09:44:16Z</dc:date>
    </item>
  </channel>
</rss>

