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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...