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.  

Labels (1)
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
Get Updates on the Splunk Community!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...