Splunk Enterprise

How to check whether props.conf is there for my sourcetype?

mahesh27
Communicator

Hi All,
how can i know whether props has been defined to particular sourcetype.
how can i check it.

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

There are a couple of REST commands you can try

| rest /servicesNS/-/-/configs/conf-props | search sourcetype=foo

If the sourcetype defines field extractions then try 

| rest /servicesNS/-/-/data/props/extractions | search stanza=foo

 

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

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Go to Settings->Source types and search for the expected sourcetype.  If it's there then props are defined.

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

mahesh27
Communicator

Hi @richgalloway , i could not see any option with name source type under settings.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Then you don't have the proper permissions.  You'll have to ask an admin to check for you.  There are other methods, but they also require higher permissions.

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

mahesh27
Communicator

HI @richgalloway okay, but can you please tell me what are the other methods tocheck.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

There are a couple of REST commands you can try

| rest /servicesNS/-/-/configs/conf-props | search sourcetype=foo

If the sourcetype defines field extractions then try 

| rest /servicesNS/-/-/data/props/extractions | search stanza=foo

 

---
If this reply helps you, Karma would be appreciated.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...