Monitoring Splunk

How to check and change the sourcetype in the query?

vineela
Path Finder

Hey folks, I have one set of application where there is version upgrade.Due to that version upgrade they changed the path of logs. As they are facing some issues with sourcetype,they changed the sourcetype name as well.
IS there a  way to know which alerts are configured with this sourcetype /source and change them to new source/sourcetype instead of opening all the alerts manually and check where those sourcetype/source is used in query


Thanks in Advance,

Labels (1)
0 Karma

vineela
Path Finder

Can you please provide me the query using rest. I have access to frontend .I have power user access for front end.

0 Karma

PickleRick
Ultra Champion

If you have the privilege, you can use a REST call to list all saved searches. There you can look for any occurrence of your sourcetype in the search text.

0 Karma
Get Updates on the Splunk Community!

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! 🌈 In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...

Admin Your Splunk Cloud, Your Way

Join us to maximize different techniques to best tune Splunk Cloud. In this Tech Enablement, you will get ...