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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

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