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!

Admin Your Splunk Cloud, Your Way

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

Cloud Platform | Discontinuing support for TLS version 1.0 and 1.1

Overview Transport Layer Security (TLS) is a security communications protocol that lets two computers, ...

New Customer Testimonials

Enterprises of all sizes and across different industries are accelerating cloud adoption by migrating ...