Splunk Search

Rename source

sriva6
New Member

Hi,

I have created a data input in splunk but I want to change the name of the source now. Is there a way to do this?

Tags (1)
0 Karma

somesoni2
Revered Legend
0 Karma

antlefebvre
Communicator

You can reindex with the new source, but once it is indexed Splunk is going to keep the events indexed as it was received. Which is why best practice would be to set up a test index you can use to verify you data is coming in as expected.

0 Karma

sriva6
New Member

I have already tried this. This created two source names for me. Also, after editing the inputs.conf file to rename the source the new data gets indexed with the new source name and the data which was indexed prior to the rename remains with the old source name. This is not what I need.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...