Splunk Search

Automatic lookup on eventtype not working - same lookup works inline

snoobzilla
Builder

I am working on a way to bucket java stacktraces and assign numbers to those signatures... lookups seem an obvious choice. However, when I try autolookups on eventtype they don't work even though they work on inline searches. It would be much better for my users to have this lookup automatic.

Works inline:
eventtype=KER* | lookup FIXIT_SIGTEST BRACKET AS BRACKET CLASS AS CLASS EXCEPTION AS EXCEPTION FILENAME AS FILENAME FIRSTLINE AS FIRSTLINE METHOD AS METHOD eventtype AS eventtype linecount AS linecount weberr AS weberr OUTPUTNEW KER AS KER2

eventtype=KER* | lookup FIXIT_SIGTEST BRACKET CLASS EXCEPTION AS EXCEPTION FILENAME FIRSTLINE METHOD eventtype linecount weberr OUTPUTNEW KER AS KER3

Auto lookups not working (same sourcetype pasted from manager):
FIXIT_SIGTEST BRACKET CLASS EXCEPTION FILENAME FIRSTLINE KER_TYPE METHOD eventtype linecount weberr OUTPUTNEW KER AS KER3

FIXIT_SIGTEST BRACKET AS BRACKET CLASS AS CLASS EXCEPTION AS EXCEPTION FILENAME AS FILENAME FIRSTLINE AS FIRSTLINE METHOD AS METHOD eventtype AS eventtype linecount AS linecount weberr AS weberr OUTPUTNEW KER AS KER2

0 Karma
1 Solution

snoobzilla
Builder

Issue indeed seems to be around multivalue field used as part of input of lookup. Got it working now leveraging an extracted non mv field.

View solution in original post

0 Karma

snoobzilla
Builder

Issue indeed seems to be around multivalue field used as part of input of lookup. Got it working now leveraging an extracted non mv field.

0 Karma

snoobzilla
Builder

Still no luck with eventtype... plan to move to a single value field instead.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...