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
SplunkTrust
SplunkTrust

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!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...