<?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 Time conversion &amp;amp; filter in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Time-conversion-amp-filter/m-p/563168#M100339</link>
    <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a search query to fetch details from Linux log and extracted a timestamp field and converted that with command strftime.&lt;/P&gt;&lt;P&gt;Timestamp from Linux log:&amp;nbsp;1628674387976621&lt;/P&gt;&lt;P&gt;| eval CT_time=strftime(Start_Time/pow(10,6),"%d/%m/%Y %H:%M:%S")&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to filter the events based on converted time, like From CT_time to CT_time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help with a query to filter with converted timestamp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, Karthikeyan.SV&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 11:32:28 GMT</pubDate>
    <dc:creator>Karthikeyan</dc:creator>
    <dc:date>2021-08-13T11:32:28Z</dc:date>
    <item>
      <title>Time conversion &amp; filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-conversion-amp-filter/m-p/563168#M100339</link>
      <description>&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a search query to fetch details from Linux log and extracted a timestamp field and converted that with command strftime.&lt;/P&gt;&lt;P&gt;Timestamp from Linux log:&amp;nbsp;1628674387976621&lt;/P&gt;&lt;P&gt;| eval CT_time=strftime(Start_Time/pow(10,6),"%d/%m/%Y %H:%M:%S")&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I would like to filter the events based on converted time, like From CT_time to CT_time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help with a query to filter with converted timestamp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards, Karthikeyan.SV&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 11:32:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-conversion-amp-filter/m-p/563168#M100339</guid>
      <dc:creator>Karthikeyan</dc:creator>
      <dc:date>2021-08-13T11:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Time conversion &amp; filter</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Time-conversion-amp-filter/m-p/563181#M100343</link>
      <description>&lt;P&gt;Filtering events based on timestamps requires comparing timestamps, which is something Splunk cannot do with human-readable time strings.&amp;nbsp; Splunk compares times in integer form.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 13:18:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Time-conversion-amp-filter/m-p/563181#M100343</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-13T13:18:54Z</dc:date>
    </item>
  </channel>
</rss>

