<?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 CSV timestamp based on 2 columns in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/CSV-timestamp-based-on-2-columns/m-p/556208#M92086</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I need an help, I have to index a csv file, currently this csv file have a column for a date and another one for the hous, I need to merge these to columns to extract the timestamp aat index time with a props file.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Field 1&amp;nbsp;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&amp;nbsp;date&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;hour&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;abc&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;16-06-2021&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;16:00&amp;nbsp; 17:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;abc&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;16-06-2021&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&amp;nbsp;16:00&amp;nbsp; 17:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;abc&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;etc....&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;etc...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;abc&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;etc...&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;etc...&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on the hour column I need only the first value&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Ale&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jun 2021 16:36:14 GMT</pubDate>
    <dc:creator>aasabatini</dc:creator>
    <dc:date>2021-06-17T16:36:14Z</dc:date>
    <item>
      <title>CSV timestamp based on 2 columns</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-timestamp-based-on-2-columns/m-p/556208#M92086</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;I need an help, I have to index a csv file, currently this csv file have a column for a date and another one for the hous, I need to merge these to columns to extract the timestamp aat index time with a props file.&lt;/P&gt;&lt;P&gt;Example&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;Field 1&amp;nbsp;&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&amp;nbsp;date&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;hour&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;abc&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;16-06-2021&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;16:00&amp;nbsp; 17:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;abc&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;16-06-2021&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;&amp;nbsp;16:00&amp;nbsp; 17:00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;abc&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;etc....&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;etc...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;abc&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;etc...&lt;/TD&gt;&lt;TD width="33.333333333333336%" height="25px"&gt;etc...&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;on the hour column I need only the first value&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;Ale&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 16:36:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-timestamp-based-on-2-columns/m-p/556208#M92086</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-06-17T16:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: CSV timestamp based on 2 columns</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-timestamp-based-on-2-columns/m-p/556220#M92088</link>
      <description>&lt;P&gt;props.conf has settings for that.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[mysourcetype]
INDEXED_EXTRACTIONS = CSV
TIMESTAMP_FIELDS = date,hour
TIME_FORMAT = %d-%m-%Y,%H:%M&lt;/LI-CODE&gt;&lt;P&gt;I'm not 100% certain about the separator to use in TIME_FORMAT so the comma may have to change.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jun 2021 18:15:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-timestamp-based-on-2-columns/m-p/556220#M92088</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-06-17T18:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: CSV timestamp based on 2 columns</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/CSV-timestamp-based-on-2-columns/m-p/556327#M92096</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;works fine!&lt;/P&gt;&lt;P&gt;Ale&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jun 2021 12:21:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/CSV-timestamp-based-on-2-columns/m-p/556327#M92096</guid>
      <dc:creator>aasabatini</dc:creator>
      <dc:date>2021-06-18T12:21:03Z</dc:date>
    </item>
  </channel>
</rss>

