Splunk Enterprise

How to know sourcetype defined

Ash1
Communicator

I have some logs coming into splunk and there are parsing correctly without any issues

Index= xxx sourcetype=splunk-logs

But now the logs time zone changed now i have to update the time zone in props.conf

So where can I find this existing sourcetype=splunk-logs in splunk

 

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Use btool

 

splunk btool --debug props list splunk-logs

 

It will display all of the props for the sourcetype along with the file name in which the prop is defined.

Remember, never change $SPLUNK_HOME/etc/system/default/props.conf and change $SPLUNK_HOME/etc/apps/*/default/props.conf only if it's your app.  Otherwise, put the change in local/props.conf.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Use btool

 

splunk btool --debug props list splunk-logs

 

It will display all of the props for the sourcetype along with the file name in which the prop is defined.

Remember, never change $SPLUNK_HOME/etc/system/default/props.conf and change $SPLUNK_HOME/etc/apps/*/default/props.conf only if it's your app.  Otherwise, put the change in local/props.conf.

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...