Getting Data In

Rename sourcetype

vchigurupati
New Member

Hi, I want to rename the sourcetype for existing data with deleting the data from it and again indexing data because it's more difficult and over headache. So, any one please post the procedure that how I can rename the sourcetype. Or suggest me if I give alias to sourcetype for existing data is there any problems that I face in future.

0 Karma

DalJeanis
Legend

Are you saying that you have existing sourcetypes that are incorrect in your indexed data, and you want to update those existing indexes to move that information into a different field? And you would like to do that without having to delete the data and re-index it?

0 Karma

vchigurupati
New Member

yes, exactly I want to rename single source types to mutiple source types on already indexed data

0 Karma

clara-fication
Super Champion

You could try renaming the sourcetype at search time:
https://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Renamesourcetypes

there is also an Answers on this:
https://answers.splunk.com/answers/145936/how-to-rename-sourcetype-in-props-conf.html

Solution Clara-fied!
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!

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...

Catalog Is Now Generally Available on Splunk Cloud Platform

A Unified View of Your Data  Security logs, application events, business data, and historical telemetry often ...

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner

Your Path to AgenticOps: AI Experiences for Every Splunk Practitioner   Watch on demand us for a demo-driven ...