<?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: Convert Snap-To Time to Epoch Time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Convert-Snap-To-Time-to-Epoch-Time/m-p/525611#M148345</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval epochtime=relative_time(now(),"-60m@m")&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 20 Oct 2020 17:10:27 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2020-10-20T17:10:27Z</dc:date>
    <item>
      <title>Convert Snap-To Time to Epoch Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Convert-Snap-To-Time-to-Epoch-Time/m-p/525590#M148336</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;&lt;P&gt;My time picker token spits out values like "-60m@m" and I want to convert this time value into an epoch time so I can filter based on epoch time. How do I convert this? Can I use strptime() to do it? What format would I tell strptime() the time is in?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 15:10:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Convert-Snap-To-Time-to-Epoch-Time/m-p/525590#M148336</guid>
      <dc:creator>michaelsplunk1</dc:creator>
      <dc:date>2020-10-20T15:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Snap-To Time to Epoch Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Convert-Snap-To-Time-to-Epoch-Time/m-p/525596#M148339</link>
      <description>&lt;P&gt;your search&lt;BR /&gt;| addinfo&lt;BR /&gt;| eval your_time=strftime(info_min_time,"%F %T")&lt;BR /&gt;&lt;BR /&gt;try addinfo command. info_min_time is epoch.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 15:50:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Convert-Snap-To-Time-to-Epoch-Time/m-p/525596#M148339</guid>
      <dc:creator>to4kawa</dc:creator>
      <dc:date>2020-10-20T15:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Snap-To Time to Epoch Time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Convert-Snap-To-Time-to-Epoch-Time/m-p/525611#M148345</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval epochtime=relative_time(now(),"-60m@m")&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 20 Oct 2020 17:10:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Convert-Snap-To-Time-to-Epoch-Time/m-p/525611#M148345</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-10-20T17:10:27Z</dc:date>
    </item>
  </channel>
</rss>

