Splunk Search

Checking TA usage-How do I know if a TA is used by any user?

zacksoft_wf
Contributor

How do I know if a TA is used by any user.
I have a TA laying around, and I doubt is is been used. But before removing wanted to make sure it is truly unused.  

0 Karma

CALEX
Explorer

Did you happen to find a way besides scream testing? I have a lot of old apps I need to review and I'm not really sure how I should proceed.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

You could make a list of the sourcetypes used by each app and then see if any sourcetype is unused.  That's a bit tricky since sourcetypes may not be referenced directly in searches - they could be in macros, eventtypes, tags, etc..  If no data with that sourcetype has been indexed in a long time then that's a pretty clue that the sourcetype and TA may not be needed.

---
If this reply helps you, Karma would be appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

There's no way to know because (generally) users don't use TAs since they're not visible.  TAs help onboard data by invoking APIs, extracting fields, or enriching data.  To know if a user is using a TA you would have to check every field the TA produces and see if any user is making use of that field.  It's not a simple task. 

Or you could disable the TA and wait for someone to complain.  I don't recommend that because, if a user needs the TA, you risk data loss or poorly onboarded events.

---
If this reply helps you, Karma would be appreciated.

zacksoft_wf
Contributor

This helps. Thanks @richgalloway.  

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...