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!

Splunk Training for All: Meet Aspiring Cybersecurity Analyst, Marc Alicea

Splunk Education believes in the value of training and certification in today’s rapidly-changing data-driven ...

Investigate Security and Threat Detection with VirusTotal and Splunk Integration

As security threats and their complexities surge, security analysts deal with increased challenges and ...

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...