<?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: Can I modify _time with an attribute in the event? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-modify-time-with-an-attribute-in-the-event/m-p/315442#M59020</link>
    <description>&lt;P&gt;Thank You!&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 12:20:51 GMT</pubDate>
    <dc:creator>pfabrizi</dc:creator>
    <dc:date>2018-02-28T12:20:51Z</dc:date>
    <item>
      <title>Can I modify _time with an attribute in the event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-modify-time-with-an-attribute-in-the-event/m-p/315440#M59018</link>
      <description>&lt;P&gt;We are bringing in symatec DLP events and we want _time to have the value of occurred_on.&lt;/P&gt;

&lt;P&gt;occurred_on comes in like this:&lt;/P&gt;

&lt;P&gt;February 27, 2018 2:39pm&lt;/P&gt;

&lt;P&gt;Can I do this as a TIME_FORMAT in props.conf or can I use a field-alias in props.conf?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:13:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-modify-time-with-an-attribute-in-the-event/m-p/315440#M59018</guid>
      <dc:creator>pfabrizi</dc:creator>
      <dc:date>2020-09-29T18:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can I modify _time with an attribute in the event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-modify-time-with-an-attribute-in-the-event/m-p/315441#M59019</link>
      <description>&lt;P&gt;Do this in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %B %d, %Y  %I:%M%p
TIME_PREFIX = occurred_on              //exact regex before time format
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;for example,if its coming &lt;CODE&gt;occurred_on : "February 27, 2018 2:39pm"&lt;/CODE&gt; you should write &lt;CODE&gt;TIME_PREFIX = occurred_on\s\:\s\"&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Also this configuration will apply on latest events only i.e. from the time you do this configuration and restart the splunk server.&lt;BR /&gt;
let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 11:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-modify-time-with-an-attribute-in-the-event/m-p/315441#M59019</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-28T11:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Can I modify _time with an attribute in the event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-I-modify-time-with-an-attribute-in-the-event/m-p/315442#M59020</link>
      <description>&lt;P&gt;Thank You!&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 12:20:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-I-modify-time-with-an-attribute-in-the-event/m-p/315442#M59020</guid>
      <dc:creator>pfabrizi</dc:creator>
      <dc:date>2018-02-28T12:20:51Z</dc:date>
    </item>
  </channel>
</rss>

