Getting Data In

after indexing data can we change the time stamp year in splunk ??? in same index

salmanbpc
New Member

Hello,...

i have loaded my data into splunk thats 2017 data i need to change the year of the data in index. because i have alraedy created some reports and dashboards with the variables.

is that possible to replace 2017 with 2019 in the same indexed data...????

0 Karma

jacobpevans
Motivator

Greetings @salmanbpc,

Even if possible, this is highly advised against. See @richgalloway's answer here: https://answers.splunk.com/answers/412085/is-it-possible-to-modify-an-indexed-event.html.

Long story short, you need to delete the index (or clear it of the relevant data), modify the source (log or otherwise), clear the fishbucket, and reindex the data with the proper timestamps. Be very careful doing each of those things if you're in a production environment.

Cheers,
Jacob

If you feel this response answered your question, please do not forget to mark it as such. If it did not, but you do have the answer, feel free to answer your own post and accept that as the answer.
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...