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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...