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

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...