Splunk Enterprise

Change sourcetype in index

m0rt1f4g0
Explorer

Hi.

Currently, I receive my Linux logs in an index called linux_logs and a syslog sourcetype.

I would like to change the syslog sourcetype to the linux_secure sourcetype.

How can I make that change so that the new logs already arrive in the new sourcetype?

My configuration

m0rt1f4g0_0-1698695433667.png

 

Sourcetype syslog

m0rt1f4g0_2-1698695681900.png

Sourcetype linux_secure

m0rt1f4g0_1-1698695659848.png

 

Thanks!

 

 

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

why you are collecting those logs with syslog and especially with UDP? That way you will always lose some events time by time! Much better way is use UFs on those nodes and use it. Then it's much easier to define which sourcetype which file are.

r. Ismo

0 Karma
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...