<?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: Calculate accurate time from .csv in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-accurate-time-from-csv/m-p/623859#M216892</link>
    <description>&lt;P&gt;After reading the CSV file, you can use &lt;FONT face="courier new,courier"&gt;eval&lt;/FONT&gt; to set the _time field to a combination of the two (or more) fields.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval _time = strptime(Date . 'Begin Time', "%m/%d/%Y%H:%M:%SEST")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Dec 2022 17:50:22 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-12-09T17:50:22Z</dc:date>
    <item>
      <title>How to calculate accurate time from .csv?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-accurate-time-from-csv/m-p/623850#M216891</link>
      <description>&lt;P&gt;Hello Splunk community, I need some help with the following:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a .csv file that is being created at a Pacific Time Zone, and the hour and date of the events I need to track are 2 separate fields in this .csv name : Date ( 09/12/2022) and "Begin Time" (06:30).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to table my events based on those two fields, as my time reference and not the _time&amp;nbsp; (2022-12-09T10:41:02.000-05:00 )when the file was exported to Splunk which is actually a different time zone ( eastern)&lt;/P&gt;
&lt;P&gt;What would it be the best way using those two fiels ( Date &amp;amp; "Begin Time") to accuratelly display the events in my .csv&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for your help&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 19:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-accurate-time-from-csv/m-p/623850#M216891</guid>
      <dc:creator>jaydiare</dc:creator>
      <dc:date>2022-12-09T19:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Calculate accurate time from .csv</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-accurate-time-from-csv/m-p/623859#M216892</link>
      <description>&lt;P&gt;After reading the CSV file, you can use &lt;FONT face="courier new,courier"&gt;eval&lt;/FONT&gt; to set the _time field to a combination of the two (or more) fields.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval _time = strptime(Date . 'Begin Time', "%m/%d/%Y%H:%M:%SEST")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 17:50:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-calculate-accurate-time-from-csv/m-p/623859#M216892</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-12-09T17:50:22Z</dc:date>
    </item>
  </channel>
</rss>

