<?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 assign csv file column value as event timestamp? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135331#M27849</link>
    <description>&lt;P&gt;we want this Account_Creation_Date column value in event date, as of now its showing event date as indexing time. If i have this column value in event date, we can able to filter records easily in pivot / time picker.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 17:39:25 GMT</pubDate>
    <dc:creator>dhavamanis</dc:creator>
    <dc:date>2020-09-28T17:39:25Z</dc:date>
    <item>
      <title>how to assign csv file column value as event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135329#M27847</link>
      <description>&lt;P&gt;We have csv file dump and its contains the user profile data with column  Account_Creation_Date (sample data : "2008-07-17 00:00:00"). We need to keep this column value as event time. can you please guide me how to do that?.&lt;/P&gt;

&lt;P&gt;Sample Event in dump and forwarder will pass these data from different system:&lt;/P&gt;

&lt;P&gt;id,brand_id,Primary Email,Email_Verified,Facebook_ID,Twitter_ID,Username,Gender,Birth_Month,Birth_Day,Birth_Year,Prefix,First_Name,Middle_Name,Last_Name,Suffix,Primary Address_Line 1,Primary Address_Line 2,Primary Address_City,Primary Address_State,Primary Address_ZIP,Primary Address_Country,Primary Address_Primary,Primary Address_Type,Primary_Phone,Mobile_Phone,Last_Log_In,Account_Creation_Date,Last_Account_Update_Date,Brand_Data&lt;/P&gt;

&lt;P&gt;00000a4b53ee4a8da9cb6c8ff3699031,af572e378e87458b8fcffc01df00a3dc,&lt;A href="mailto:xxxxxx99@aol.com" target="_blank"&gt;xxxxxx99@aol.com&lt;/A&gt;,,,,xxxxxx99,m,3,23,1994,,,,,,,,Philadelphia,PA,19114,US,True,,,,2012-11-27 00:00:00,2012-11-27 00:00:00,2012-11-27 00:00:00,&lt;/P&gt;

&lt;P&gt;00004ace934c476099c132092097d9ba,af572e378e87458b8fcffc01df00a3dc,&lt;A href="mailto:xxxxxxxxx9999@gmail.com" target="_blank"&gt;xxxxxxxxx9999@gmail.com&lt;/A&gt;,,,,xxxxxxxxx9999,f,9,8,1986,,,,,,,,los angeles ,CA,90043,US,True,,,,2012-11-24 00:00:00,2012-11-24 00:00:00,2012-11-24 00:00:00,&lt;/P&gt;

&lt;P&gt;Can you give me the sample entry for props.conf. these events are indexing into sourcetype=csv and index="idxmember".&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:39:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135329#M27847</guid>
      <dc:creator>dhavamanis</dc:creator>
      <dc:date>2020-09-28T17:39:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign csv file column value as event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135330#M27848</link>
      <description>&lt;P&gt;If I understood it correct, what you are looking for is 'auto lookup'. More details here&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.3/SearchTutorial/Usefieldlookups"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.3/SearchTutorial/Usefieldlookups&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 15:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135330#M27848</guid>
      <dc:creator>pradeepkumarg</dc:creator>
      <dc:date>2014-09-22T15:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign csv file column value as event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135331#M27849</link>
      <description>&lt;P&gt;we want this Account_Creation_Date column value in event date, as of now its showing event date as indexing time. If i have this column value in event date, we can able to filter records easily in pivot / time picker.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:39:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135331#M27849</guid>
      <dc:creator>dhavamanis</dc:creator>
      <dc:date>2020-09-28T17:39:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign csv file column value as event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135332#M27850</link>
      <description>&lt;P&gt;You need to pull the time out before the data is indexed if you want it to be the event time. See this page for how to do that: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.3/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.3/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Sep 2014 16:20:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135332#M27850</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-09-22T16:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign csv file column value as event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135333#M27851</link>
      <description>&lt;P&gt;we want this Account_Creation_Date column value in event date, as of now its showing event date as indexing time. If i have this column value in event date, we can able to filter records easily in pivot / time picker. can you please provide the sample for this.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:40:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135333#M27851</guid>
      <dc:creator>dhavamanis</dc:creator>
      <dc:date>2020-09-28T17:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign csv file column value as event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135334#M27852</link>
      <description>&lt;P&gt;You do not have a column value at this point yet, since assigning the event time happens before field extraction. Please follow the directions in the link I provided to either (a) use the interactive data previewer to describe where your date is, or (b) write a stanza in &lt;CODE&gt;props.conf&lt;/CODE&gt; using a &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt; regex to figure out where in your line the time is, and then the &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt; strptime() format to describe the time contained there.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 19:20:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135334#M27852</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-09-23T19:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign csv file column value as event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135335#M27853</link>
      <description>&lt;P&gt;Thanks Aweitzman, we have updated the sample events in the original request, Can you please give me the sample entry for props.conf. these events are indexing into sourcetype=csv and index="idxmember".&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 19:36:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135335#M27853</guid>
      <dc:creator>dhavamanis</dc:creator>
      <dc:date>2014-09-23T19:36:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign csv file column value as event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135336#M27854</link>
      <description>&lt;P&gt;So something like this might work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[csv]
TIME_PREFIX = (?:(?:.*?),){26}
TIME_FORMAT = %Y-%m-%d %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If not, try tweaking it a bit until it does. Remember, you need to restart your server after making this change for it to go into effect.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Sep 2014 19:59:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135336#M27854</guid>
      <dc:creator>aweitzman</dc:creator>
      <dc:date>2014-09-23T19:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: how to assign csv file column value as event timestamp?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135337#M27855</link>
      <description>&lt;P&gt;its working fine for me. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Oct 2014 23:10:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/how-to-assign-csv-file-column-value-as-event-timestamp/m-p/135337#M27855</guid>
      <dc:creator>dhavamanis</dc:creator>
      <dc:date>2014-10-09T23:10:15Z</dc:date>
    </item>
  </channel>
</rss>

