Knowledge Management

Solutions: "Splunk could not get the description for this event"

hrawat
Splunk Employee
Splunk Employee

If you find issue happens after windows server is restarted. Restarting splunk universal forwarder fixes the issue. Then try one of the following workarounds.

Use 'Delayed Start' for the Splunk Forwarder service. (

https://community.splunk.com/t5/Getting-Data-In/Why-quot-FormatMessage-error-quot-appears-in-indexed...). However it's hard to configure thousands of DCs.

Or

Configure  interval as cron schedule instead.

interval = [<decimal>|<cron schedule>]
 
[WinEventLog]

interval=* * * * *

 

By default wineventlog interval is 60 sec. That means as soon as splunk is restarted, wineventlog (or any modinput) is immediately started. Subsequently every 60( configured interval) splunk checks if modinput is still running. If not re-launch modinput.
Instead of setting interval 60 sec, if we use cron schedule to run every minute, then splunk is not going to launch modinput immediately. So essentially the idea is to convert interval setting from decimal to cron schedule to introduce a delay.



If above does not solve the issue, meaning the issue is not related to windows server  restart. 
Try one of the following workarounds.

 

Workaround 1.
in inputs.conf
  1. Stop UF
  2. Set batch_size to 1.
  3. Start UF
[<impacted channel>] 
batch_size=1
Workaround 2.
in inputs.conf
  1. Stop UF
  2. backup checkpoint file $SPLUNK_HOME\var\lib\splunk\modinputs\WinEventLog\<impacted channel> . Saves current record id
  3.  In inputs.conf for impacted channel add use_old_eventlog_api=true
  4. Start UF
  5. Stop  UF after 30 sec
  6. Replace current record with  record id found in step 2. So that ingestion starts from right place.
  7. When setting use_old_eventlog_api=false ( in case if it does help). Follow all above steps so that UF correctly starts from desired record id.
 [<impacted channel>] 
use_old_eventlog_api=true

 

Tags (1)
Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...