All Apps and Add-ons

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

Builder

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

Builder
 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

Builder
 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

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

Super Champion
0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!