<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why the ErrorCode 5 when trying to forward Sysmon logs (unable to subscribe)? in Installation</title>
    <link>https://community.splunk.com/t5/Installation/Why-the-ErrorCode-5-when-trying-to-forward-Sysmon-logs-unable-to/m-p/657805#M13254</link>
    <description>&lt;P&gt;I got the following errors in my Splunk Error Logs:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Init failed&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;unable to subscribe to Windows Event Log channel Microsoft-Windows-Sysmon/Operational: errorCode=5&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The UniversalForwarder is installed on a Windows 10 Desktop (not part of a Doamin).&lt;/P&gt;
&lt;P&gt;I can see Sysmon logging in the eventlog viewer and I can forward the System and Security logs but not the Sysmon logs. What do I overlook here?&lt;/P&gt;
&lt;P&gt;inputs.conf:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[WinEventLog://Security]
disabled = 0

[WinEventLog://System]
disabled = 0

[WinEventLog://Microsoft-Windows-Sysmon/Operational]
disabled = 0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2023 22:14:31 GMT</pubDate>
    <dc:creator>pck1983</dc:creator>
    <dc:date>2023-09-18T22:14:31Z</dc:date>
    <item>
      <title>Why the ErrorCode 5 when trying to forward Sysmon logs (unable to subscribe)?</title>
      <link>https://community.splunk.com/t5/Installation/Why-the-ErrorCode-5-when-trying-to-forward-Sysmon-logs-unable-to/m-p/657805#M13254</link>
      <description>&lt;P&gt;I got the following errors in my Splunk Error Logs:&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Init failed&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;unable to subscribe to Windows Event Log channel Microsoft-Windows-Sysmon/Operational: errorCode=5&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;The UniversalForwarder is installed on a Windows 10 Desktop (not part of a Doamin).&lt;/P&gt;
&lt;P&gt;I can see Sysmon logging in the eventlog viewer and I can forward the System and Security logs but not the Sysmon logs. What do I overlook here?&lt;/P&gt;
&lt;P&gt;inputs.conf:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[WinEventLog://Security]
disabled = 0

[WinEventLog://System]
disabled = 0

[WinEventLog://Microsoft-Windows-Sysmon/Operational]
disabled = 0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 22:14:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-the-ErrorCode-5-when-trying-to-forward-Sysmon-logs-unable-to/m-p/657805#M13254</guid>
      <dc:creator>pck1983</dc:creator>
      <dc:date>2023-09-18T22:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Why the ErrorCode 5 when trying to forward Sysmon logs (unable to subscribe)?</title>
      <link>https://community.splunk.com/t5/Installation/Why-the-ErrorCode-5-when-trying-to-forward-Sysmon-logs-unable-to/m-p/669809#M13434</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It was due to the user being configured to run the Splunk forwarder Windows service. It was a local user account without the necessary rights. I changed it to a local system account and the events started to flow in.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Awni&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2023 11:00:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-the-ErrorCode-5-when-trying-to-forward-Sysmon-logs-unable-to/m-p/669809#M13434</guid>
      <dc:creator>mawni</dc:creator>
      <dc:date>2023-11-27T11:00:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why the ErrorCode 5 when trying to forward Sysmon logs (unable to subscribe)?</title>
      <link>https://community.splunk.com/t5/Installation/Why-the-ErrorCode-5-when-trying-to-forward-Sysmon-logs-unable-to/m-p/701681#M14197</link>
      <description>&lt;P&gt;May I ask how you changed the UF to run as System? Is it simply a case of setting SPLUNK_OS_USER in splunk-launch.conf like it would be on a linux host?&lt;/P&gt;&lt;P&gt;ie:&lt;BR /&gt;SPLUNK_OS_USER=SYSTEM&lt;/P&gt;&lt;P&gt;Thank you, and apologies if this is a really lame question.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2024 17:28:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-the-ErrorCode-5-when-trying-to-forward-Sysmon-logs-unable-to/m-p/701681#M14197</guid>
      <dc:creator>gazoscreek</dc:creator>
      <dc:date>2024-10-11T17:28:55Z</dc:date>
    </item>
    <item>
      <title>Re: Why the ErrorCode 5 when trying to forward Sysmon logs (unable to subscribe)?</title>
      <link>https://community.splunk.com/t5/Installation/Why-the-ErrorCode-5-when-trying-to-forward-Sysmon-logs-unable-to/m-p/702706#M14203</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;I had the same issue and I fixed it by changing the user through Services:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="soberocean_0-1729782932885.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33209i4E54D441507218C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="soberocean_0-1729782932885.png" alt="soberocean_0-1729782932885.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;soberocean_0-1729782932885.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2024 15:16:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Installation/Why-the-ErrorCode-5-when-trying-to-forward-Sysmon-logs-unable-to/m-p/702706#M14203</guid>
      <dc:creator>soberocean</dc:creator>
      <dc:date>2024-10-24T15:16:00Z</dc:date>
    </item>
  </channel>
</rss>

