<?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: Changing the Year in _time in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639973#M221764</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. The year changed, but not correctly.&lt;/P&gt;&lt;P&gt;1s try use using the command provided:&lt;/P&gt;&lt;P&gt;index="XXXX"| eval _time=strptime("2015 "._raw,"%Y%b%d %H:%M:%S")&lt;/P&gt;&lt;P&gt;I get the following. The time is blank.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Macphisto_0-1681493973868.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24923i351354B8367D6535/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Macphisto_0-1681493973868.png" alt="Macphisto_0-1681493973868.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2nd try, I&amp;nbsp; added another eval command. I get this the year as 1969 and the time is off.&amp;nbsp;&lt;/P&gt;&lt;P&gt;index="01-aruba"| eval _time=strptime("2015"._raw,"%Y%b%d %H:%M:%S")&lt;BR /&gt;| eval _time="2015"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Macphisto_1-1681494375396.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24924iF679305229F8CECA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Macphisto_1-1681494375396.png" alt="Macphisto_1-1681494375396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 17:46:42 GMT</pubDate>
    <dc:creator>Macphisto</dc:creator>
    <dc:date>2023-04-14T17:46:42Z</dc:date>
    <item>
      <title>Is there a way to change the year in _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639949#M221756</link>
      <description>&lt;P&gt;I have a 2015 log that I need to analyze&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a 2015 Aruba log I need to analyze. &amp;nbsp;The log does not have the year, so Splunk inputs the current year (2023).&amp;nbsp; Is there a way to adjust the year? Here is a sample of my log (IP, MAC, and Name of Devices are XXX out).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12:37:13&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stm[XXXXXX]:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |AP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XXXXXX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stm|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Auth&amp;nbsp;&amp;nbsp;&amp;nbsp; request:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XXXX AP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XXX&amp;nbsp;&amp;nbsp;&amp;nbsp; auth_alg&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12:37:13&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stm[XXXXXX]:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |AP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XXXXXX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stm|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Auth&amp;nbsp;&amp;nbsp;&amp;nbsp; success:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XXXXXX:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XXXXXX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Mar&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12:37:33&amp;nbsp;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stm[XXXXXX]:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |AP&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XXXXXX&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; stm|&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Deauth&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sta:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XXXXXX:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ageout&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AP&lt;/P&gt;
&lt;P&gt;Here is what Splunk has&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Macphisto_1-1681482164540.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24921iD5C612AB0F913407/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Macphisto_1-1681482164540.png" alt="Macphisto_1-1681482164540.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 16:29:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639949#M221756</guid>
      <dc:creator>Macphisto</dc:creator>
      <dc:date>2023-04-14T16:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Year in _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639954#M221758</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval _time=strptime("2015 "._raw,"%Y %b %d %H:%M:%S")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 15:23:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639954#M221758</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-14T15:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Year in _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639973#M221764</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. The year changed, but not correctly.&lt;/P&gt;&lt;P&gt;1s try use using the command provided:&lt;/P&gt;&lt;P&gt;index="XXXX"| eval _time=strptime("2015 "._raw,"%Y%b%d %H:%M:%S")&lt;/P&gt;&lt;P&gt;I get the following. The time is blank.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Macphisto_0-1681493973868.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24923i351354B8367D6535/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Macphisto_0-1681493973868.png" alt="Macphisto_0-1681493973868.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2nd try, I&amp;nbsp; added another eval command. I get this the year as 1969 and the time is off.&amp;nbsp;&lt;/P&gt;&lt;P&gt;index="01-aruba"| eval _time=strptime("2015"._raw,"%Y%b%d %H:%M:%S")&lt;BR /&gt;| eval _time="2015"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Macphisto_1-1681494375396.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24924iF679305229F8CECA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Macphisto_1-1681494375396.png" alt="Macphisto_1-1681494375396.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 17:46:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639973#M221764</guid>
      <dc:creator>Macphisto</dc:creator>
      <dc:date>2023-04-14T17:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the Year in _time</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639988#M221770</link>
      <description>&lt;P&gt;You don't appear to have included the same spaces that I had in the format string.&lt;/P&gt;&lt;P&gt;Perhaps you could share your raw event in a code block &amp;lt;/&amp;gt; so that formatting is preserved?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 18:52:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639988#M221770</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-14T18:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change the year in _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639991#M221773</link>
      <description>&lt;P&gt;You should start all the way over and reindex the data with the correct year.&amp;nbsp; Be sure to modify "MAX_DAYS_HENCE" first.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 18:59:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/639991#M221773</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2023-04-14T18:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change the year in _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/640018#M221780</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/1406"&gt;@woodcock&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you. How do you input the correct year when inputting the log file? I tried looking for that, but I can't find the answer how to do it.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 21:03:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/640018#M221780</guid>
      <dc:creator>Macphisto</dc:creator>
      <dc:date>2023-04-14T21:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change the year in _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/640026#M221786</link>
      <description>&lt;P&gt;You get it wherever you can.&amp;nbsp; In the filenname.&amp;nbsp; In the directory path.&amp;nbsp; In the file createtime.&amp;nbsp; In the file modtime. Somewhere inside of the file.&amp;nbsp; It has to be somewhere.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 21:31:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/640026#M221786</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2023-04-14T21:31:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to change the year in _time?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/640087#M221808</link>
      <description>&lt;P&gt;OK. Unless you do some ingest-time magic, splunk assumes that the missing timestamp parts are "current" (with some exceptions; see &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/HowSplunkextractstimestamps" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/HowSplunkextractstimestamps&lt;/A&gt; for detailed explanation). So as you already ingested your events and they got their timestamp parsed and the events are already indexed you have two (three because one has two variants) options.&lt;/P&gt;&lt;P&gt;1. Delete your already indexed data and ingest it again into a proper time. Which means that you have to either:&lt;/P&gt;&lt;P&gt;1a. use ingest-time evals to "move" them backwards into 2015 or&lt;/P&gt;&lt;P&gt;1b. modify your raw events to include the year in the timestamp&lt;/P&gt;&lt;P&gt;In both cases you might need to configure additional parameters so that Splunk doesn't "ignore" your timestamp because your events are too old. See &lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/Configuretimestamprecognition#Timestamp_settings" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/Configuretimestamprecognition#Timestamp_settings&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Or you can&lt;/P&gt;&lt;P&gt;2. Leave the data as it is, just modify the timestamp in search time. For example, similar to &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt; 's solution or just "move" the time backwards if only the year is wrong (your original example shows some more discrepancies between the _time field and the actual timestamp in the raw event so I'm not sure what is really going on in your tdata):&lt;/P&gt;&lt;PRE&gt;| eval _time=relative_time(_time,"-8y")&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;The first solution will of course incur additional license usage since you have to re-ingest your data, and the second is not very pretty since your data is still indexed in wrong spot in time. And searching for it is unintuitive.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Apr 2023 16:10:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-a-way-to-change-the-year-in-time/m-p/640087#M221808</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2023-04-15T16:10:59Z</dc:date>
    </item>
  </channel>
</rss>

