<?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 Overwrite timestamp with two variables in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Overwrite-timestamp-with-two-variables/m-p/41051#M7614</link>
    <description>&lt;P&gt;I am attempting to overwrite the timestamp Splunk has assigned to each event, with a field which holds an events month, and another with its year. A modification to props.conf would be preferable compared to an inline change, as I would like to call earliest=@mon etc which I believe cannot be done with a _time=......&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2013 14:43:20 GMT</pubDate>
    <dc:creator>pwjones89</dc:creator>
    <dc:date>2013-05-21T14:43:20Z</dc:date>
    <item>
      <title>Overwrite timestamp with two variables</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Overwrite-timestamp-with-two-variables/m-p/41051#M7614</link>
      <description>&lt;P&gt;I am attempting to overwrite the timestamp Splunk has assigned to each event, with a field which holds an events month, and another with its year. A modification to props.conf would be preferable compared to an inline change, as I would like to call earliest=@mon etc which I believe cannot be done with a _time=......&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2013 14:43:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Overwrite-timestamp-with-two-variables/m-p/41051#M7614</guid>
      <dc:creator>pwjones89</dc:creator>
      <dc:date>2013-05-21T14:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite timestamp with two variables</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Overwrite-timestamp-with-two-variables/m-p/41052#M7615</link>
      <description>&lt;P&gt;Splunk areadly does that for you.&lt;/P&gt;

&lt;P&gt;Splunk has the following data time fields:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;date&lt;/LI&gt;
&lt;LI&gt;date_hour&lt;/LI&gt;
&lt;LI&gt;date_mday&lt;/LI&gt;
&lt;LI&gt;date_minute&lt;/LI&gt;
&lt;LI&gt;date_month&lt;/LI&gt;
&lt;LI&gt;date_second&lt;/LI&gt;
&lt;LI&gt;date_wday&lt;/LI&gt;
&lt;LI&gt;date_year&lt;/LI&gt;
&lt;LI&gt;date_zone&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Additional Reading:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Aboutdefaultfields"&gt;Aboutdefaultfields&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps or gets you started. Dont forget to accept and vote up answers that help.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2013 14:58:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Overwrite-timestamp-with-two-variables/m-p/41052#M7615</guid>
      <dc:creator>bmacias84</dc:creator>
      <dc:date>2013-05-21T14:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite timestamp with two variables</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Overwrite-timestamp-with-two-variables/m-p/41053#M7616</link>
      <description>&lt;P&gt;You should probably post a few sample events, and describe which part you want to change. Are you sure that this isn't more about getting Splunk to understand (better) the timestamp(s) already inside the event.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2013 15:05:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Overwrite-timestamp-with-two-variables/m-p/41053#M7616</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-05-21T15:05:45Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite timestamp with two variables</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Overwrite-timestamp-with-two-variables/m-p/41054#M7617</link>
      <description>&lt;P&gt;There was an internal timestamp which was being used to overwrite _time, however that timestamp has been dropped in favour of aggregating events on a monthly basis. Hence why I am looking to base _time on the month and year fields within the data.&lt;BR /&gt;
Currently I have modified the props.conf to include TIME_PREFIX and TIME_FORMAT options.&lt;BR /&gt;
I will return will its success.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:56:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Overwrite-timestamp-with-two-variables/m-p/41054#M7617</guid>
      <dc:creator>pwjones89</dc:creator>
      <dc:date>2020-09-28T13:56:54Z</dc:date>
    </item>
  </channel>
</rss>

