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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...