<?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 convert time into the Epoch format in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-time-into-the-Epoch-format/m-p/248452#M74159</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval t=strptime(timestamp. "%Y-%m-%dT%H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 26 Aug 2016 16:49:25 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-08-26T16:49:25Z</dc:date>
    <item>
      <title>How to convert time into the Epoch format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-time-into-the-Epoch-format/m-p/248451#M74158</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;
I have a timestamp field with values as below &lt;/P&gt;

&lt;P&gt;"2016-08-25T13:30:36.82" &lt;BR /&gt;
"2016-08-25T13:13:38.737"&lt;BR /&gt;
"2016-08-25T11:05:32.76"&lt;/P&gt;

&lt;P&gt;How i can convert this into the epoch time so that i can use the value to compare with other epoch value. &lt;/P&gt;

&lt;P&gt;Your help will be greatly appreaciated. &lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:34:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-time-into-the-Epoch-format/m-p/248451#M74158</guid>
      <dc:creator>samarkumar</dc:creator>
      <dc:date>2016-08-26T16:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert time into the Epoch format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-time-into-the-Epoch-format/m-p/248452#M74159</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval t=strptime(timestamp. "%Y-%m-%dT%H:%M:%S")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Aug 2016 16:49:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-time-into-the-Epoch-format/m-p/248452#M74159</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-26T16:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert time into the Epoch format</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-convert-time-into-the-Epoch-format/m-p/248453#M74160</link>
      <description>&lt;P&gt;I had a discussion with Sundaresh, and i tried below thing and it works as expected. &lt;/P&gt;

&lt;P&gt;..|eval t=strptime(timestamp, "\"%Y-%m-%dT%H:%M:%S")|..&lt;/P&gt;

&lt;P&gt;Thank You.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 18:11:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-convert-time-into-the-Epoch-format/m-p/248453#M74160</guid>
      <dc:creator>samarkumar</dc:creator>
      <dc:date>2016-08-26T18:11:33Z</dc:date>
    </item>
  </channel>
</rss>

