Splunk Enterprise

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

mahesh27
Path Finder

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
Path Finder

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
Path Finder

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.
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 2 releases of new security content via the ...

Announcing the 1st Round Champion’s Tribute Winners of the Great Resilience Quest

We are happy to announce the 20 lucky questers who are selected to be the first round of Champion's Tribute ...

We’ve Got Education Validation!

Are you feeling it? All the career-boosting benefits of up-skilling with Splunk? It’s not just a feeling, it's ...