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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...