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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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