Knowledge Management

eventtypes combination

rakesh_498115
Motivator

Can we combine eventtypes based on a category? ie I have four eventtypes which fall into a specific category like purchase..so can I combine these four eventtypes into a single eventtype. If so, how i can i do it? And can you please provide an example for this.

Thnx.

Tags (1)
0 Karma
1 Solution

jerrad
Path Finder

event types are really just mini saved searches, so you could simply take your 4 event types and place them into a search like

eventtype=purchase-w OR eventtype=purchase-x OR eventtype=purchase-y OR eventtype=purchase-Z

Then save this is as an event type called "purchase" so the next time you search you could simply type eventtype=purchase

or you could just take all of the individual event types actual text and create one big search and save it as eventtype=purchase

If you would like to more easily handle this on a go forward basis you could start to tag your event types
http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Tageventtypes

View solution in original post

jerrad
Path Finder

event types are really just mini saved searches, so you could simply take your 4 event types and place them into a search like

eventtype=purchase-w OR eventtype=purchase-x OR eventtype=purchase-y OR eventtype=purchase-Z

Then save this is as an event type called "purchase" so the next time you search you could simply type eventtype=purchase

or you could just take all of the individual event types actual text and create one big search and save it as eventtype=purchase

If you would like to more easily handle this on a go forward basis you could start to tag your event types
http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Tageventtypes

Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...