Getting Data In

creating automatic sourcetype

smolcj
Builder

hi,
how to create an automatic sourcetype, which is not there in the splunk list ?
how we can define the regex so that automatically splunk identifies the sourcetype and index.
pls help
thanks

Tags (2)
0 Karma

MuS
SplunkTrust
SplunkTrust

hi smolcj

since sourcetypes for log events are created at index time, you should have a look at docs about props and transforms for a start.

cheers,

MuS

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Kubernetes Alerts That Work Out of the Box with AutoDetect detectors in Splunk ...

A deployment rolls out slowly, one pod sits not ready for a few minutes, and whoever is on call gets an alert ...

Observability at Your Fingertips Directly From Splunk Platform—for Free

At .conf, we announced our roadmap to bring observability foundations to Splunk Platform. Bringing metrics and ...