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 Cloud | Empowering Splunk Administrators with Admin Config Service (ACS)

Greetings, Splunk Cloud Admins and Splunk enthusiasts! The Admin Configuration Service (ACS) team is excited ...

Tech Talk | One Log to Rule Them All

One log to rule them all: how you can centralize your troubleshooting with Splunk logs We know how important ...

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through: An introduction to the Splunk Threat ...