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!

Stay Connected: Your Guide to February Tech Talks, Office Hours, and Webinars!

💌 Keep the new year’s momentum going with our February lineup of Community Office Hours, Tech Talks, ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Incident Response: Reduce Incident Recurrence with Automated Ticket Creation

Culture extends beyond work experience and coffee roast preferences on software engineering teams. Team ...