Knowledge Management

eventtype from an inputlookup

phoenixdigital
Builder

I am making an app and wanted to have some dummy data tagged as an example to the end user.

So I have eventtypes.conf as

[installed_applications]
search = | inputlookup dummy_installed_applications

Now this search works as a standard search but will not work as an eventtype.

Any suggestions?

Tags (2)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Eventtypes cannot contain pipes or subsearches.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Eventtypes cannot contain pipes or subsearches.

martin_mueller
SplunkTrust
SplunkTrust

Well, it's intrinsic to what an eventtype actually is:

It's a set of search filters that determines what eventtypes an event gets annotated with. You use it two ways - either to filter based on the eventtype, or to look at the eventtype field in events returned by any search.

A | inputlookup doesn't make sense in this concept. Have you considered a macro?

0 Karma

phoenixdigital
Builder

Very unfortunate

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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...