Splunk Enterprise

Eventtype 'msad-rep-errors' does not exist or is disabled

rukshar
Explorer

I have a dashboard which gives the below error at user end but when i open the dashboard i dont see any error at my end and it perfectly runs fine with the proper result

  • Error in 'lookup' command: Could not construct lookup 'EventCodes, EventCode, LogName, OUTPUTNEW, desc'. See search.log for more details.
  • Eventtype 'msad-rep-errors' does not exist or is disabled.

Please help me how to fix this issue.

ss.jpg

 

Labels (2)
0 Karma

marnall
Motivator

Could you post the sanitized search from that panel? It likely has a broken reference to a lookup and/or an eventtype.

0 Karma

rukshar
Explorer
eventtype=msad-rep-errors (host="*")|lookup EventCodes EventCode,LogName OUTPUTNEW desc|eval desc=if(isnull(desc),"Unknown EventCode",desc)
| stats count by host,Type,EventCode,LogName,desc
| lookup DCs_tier0.csv host OUTPUTNEW domain offset_value
| search offset_value=1
| search (host="*") (domain="*")
| table host domain Type EventCode LogName desc

 

MicrosoftTeams-image (1).png

 

0 Karma

marnall
Motivator

I suspect the issue lies with the line:

| lookup EventCodes EventCode,LogName OUTPUTNEW desc

I assume this is intended to use a lookup definition called EventCodes. Could you try using inputlookup on EventCodes in a separate search and see which, if any, columns appear?

| inputlookup EventCodes

If there are no results, then either EventCodes does not exist as a lookup definition or you have no permissions to view it.

If there are columns but there are none called "EventCode","LogName" or "dest", then you'll need to adjust those column names in the lookup command.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...