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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...