Splunk Enterprise Security

How to know where a particular eventtype is used ?

zacksoft_wf
Contributor

I have an eventtype that I want to delete, But before that I want to make sure that the eventtype isn't used anywhere , like in any datamodel, any correlation search, savedsearch , dashboard, tags etc....

Is there a way , I can figure out where in the Splunk  an eventtype is used ?

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

You'll have to search each object type for the eventtype in question.  Use the various REST commands at your disposal.

For correlation and saved searches, reports, and alerts (the same thing, really):

| rest /servicesNS/-/-/saved/searches splunk_server=local
| search search="*<<eventtype name>>*"
| table title eai:acl.app author search

For dashboards:

| rest /servicesNS/-/-/data/ui/views splunk_server=local
| search eai:data="*<<eventtype name>>*"
| table title eai:acl.app author eai:data

For datamodels:

| rest /servicesNS/-/-/data/models splunk_server=local
| search eai:data="*<<eventtype name>>*"
| table title eai:acl.app author eai:data

For tags:

| rest /services/configs/conf-tags splunk_server=local 
| search title="eventtype=<<eventtype name>>"
| table title author eai:acl.app
---
If this reply helps you, Karma would be appreciated.
0 Karma
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.


Introducing Unified TDIR with the New Enterprise Security 8.2

Read the blog
Get Updates on the Splunk Community!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...