All Apps and Add-ons

Data could not be written Error

cubicmotion
Explorer

I've setup windows defender TA on splunk light using these instructions:

https://answers.splunk.com/answers/557366/a-guide-to-installing-a-splunk-ta-at-command-line.html

When I try to setupa data input I can see Microsoft-Windows-Windows Defender/Operational but when I try to enable it I get the follwing error:

Error occurred attempting to enable Microsoft-Windows-Windows Defender/Operational: In handler 'remote_eventlogs': Data could not be written: /nobody/TA-microsoft-windefender/inputs/WinEventLog://Microsoft-Windows-Windows Defender/Operational/disabled: 0.

0 Karma
1 Solution

cubicmotion
Explorer

Solution found myself. It's caused by permissions issues. There's an inputs conf file which won't allow changes to be made to it.

Here's the solution...

Copied input Conf file to desktop from:

C:\Program Files\Splunk\etc\deployment-apps\TA-microsoft-windefender\default\inputs.conf

Opened on the desktop with notepad:

[WinEventLog://Microsoft-Windows-Windows Defender/Operational]
index = windefender
disabled = true
renderXml = 1

Changed disabeld = true to disabled = 0

Saved as a conf file and pasted over the existing conf file overwriting it.

Windows defender event log now says enabled.

View solution in original post

0 Karma

cubicmotion
Explorer

Solution found myself. It's caused by permissions issues. There's an inputs conf file which won't allow changes to be made to it.

Here's the solution...

Copied input Conf file to desktop from:

C:\Program Files\Splunk\etc\deployment-apps\TA-microsoft-windefender\default\inputs.conf

Opened on the desktop with notepad:

[WinEventLog://Microsoft-Windows-Windows Defender/Operational]
index = windefender
disabled = true
renderXml = 1

Changed disabeld = true to disabled = 0

Saved as a conf file and pasted over the existing conf file overwriting it.

Windows defender event log now says enabled.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

@cubicmotion If your problem is resolved, please accept the answer to help future readers.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...