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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...