All Apps and Add-ons

How do I fix the following lookup error in the Splunk Security Essentials App?

damode
Motivator

Getting the below error in In-Scope Device with Outdated Anti-Malware Found use case of Splunk Security Essentials app,

Error in 'lookup' command: Could not find all of the specified lookup fields in the lookup table.

Can someone please advise how to fix it ?

Thanks.

0 Karma
1 Solution

damode
Motivator
 index=* sourcetype=symantec:* 
|stats max(eval(if(like(Event_Description, "%LiveUpdate session ran successfully%") , _time, null))) as LatestUpdate max(_time) as LatestMessage max(eval(if(tag="error", _time, null))) as LatestError by Host_Name 
| where LatestUpdate < relative_time(LatestMessage, "-3d") OR LatestError > LatestUpdate 
| lookup gdpr_system_category Host_Name | search category=* 
| convert ctime(LatestUpdate) ctime(LatestMessage) ctime(LatestError)

The input "Host_Name" that the lookup command in the search refers to, is incorrect. The correct input in the "gdpr_system_category" lookup is "host".

Hence, the search needs to be changed to reflect the correct input i.e host.

View solution in original post

0 Karma

damode
Motivator
 index=* sourcetype=symantec:* 
|stats max(eval(if(like(Event_Description, "%LiveUpdate session ran successfully%") , _time, null))) as LatestUpdate max(_time) as LatestMessage max(eval(if(tag="error", _time, null))) as LatestError by Host_Name 
| where LatestUpdate < relative_time(LatestMessage, "-3d") OR LatestError > LatestUpdate 
| lookup gdpr_system_category Host_Name | search category=* 
| convert ctime(LatestUpdate) ctime(LatestMessage) ctime(LatestError)

The input "Host_Name" that the lookup command in the search refers to, is incorrect. The correct input in the "gdpr_system_category" lookup is "host".

Hence, the search needs to be changed to reflect the correct input i.e host.

0 Karma

mstjohn_splunk
Splunk Employee
Splunk Employee

hi @damode ,

Did the answer below solve your problem? If so, please resolve this post by approving it!
If your problem is still not solved, keep us updated so that someone else can help ya. Thanks for posting!

0 Karma

493669
Super Champion
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...