<?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 Re: Forwarder add Windows Event log command line in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133585#M27454</link>
    <description>&lt;PRE&gt;&lt;CODE&gt;Monitored Event Log Collections:
        localhost
                disabled:1
                hosts:localhost
                index:default
                logs:
                        Application
                        ForwardedEvents
                        HardwareEvents
                        Internet Explorer
                        Security
                        Setup
                        System
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Just got the above as the result of &lt;/P&gt;

&lt;P&gt;C:\Program Files\SplunkUniversalForwarder\bin&amp;gt;splunk list eventlog&lt;/P&gt;

&lt;P&gt;how to enable the log monitor ?&lt;/P&gt;</description>
    <pubDate>Wed, 01 Oct 2014 11:27:05 GMT</pubDate>
    <dc:creator>splunker12er</dc:creator>
    <dc:date>2014-10-01T11:27:05Z</dc:date>
    <item>
      <title>Forwarder add Windows Event log command line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133580#M27449</link>
      <description>&lt;P&gt;Is it possible to add to the splunk forwarder via the command line items from Windows Event viewer? I know we can update inputs.conf but is it possible via the command line? &lt;/P&gt;

&lt;P&gt;If it is possible, shouldn't monitored event log items show up when you list monitored items? &lt;/P&gt;

&lt;P&gt;splunk list monitor&lt;/P&gt;

&lt;P&gt;Doesn't display event log items. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 14:31:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133580#M27449</guid>
      <dc:creator>kceleslie</dc:creator>
      <dc:date>2014-04-16T14:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder add Windows Event log command line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133581#M27450</link>
      <description>&lt;P&gt;Those don't show up in &lt;CODE&gt;splunk list monitor&lt;/CODE&gt; because a Windows event log entry looks like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://&amp;lt;name&amp;gt;]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;rather than this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://&amp;lt;path&amp;gt;]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hence they're not &lt;CODE&gt;monitor&lt;/CODE&gt; type stanzas.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:47:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133581#M27450</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-16T16:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder add Windows Event log command line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133582#M27451</link>
      <description>&lt;P&gt;Give this a try for listing:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk list eventlog
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Apr 2014 16:49:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133582#M27451</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-16T16:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder add Windows Event log command line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133583#M27452</link>
      <description>&lt;P&gt;Thanks!&lt;BR /&gt;
Just found this, looks like it is not possible with the CLI&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/9389/configuring-a-light-forwarder-to-monitor-the-windows-event-log-from-the-cli"&gt;http://answers.splunk.com/answers/9389/configuring-a-light-forwarder-to-monitor-the-windows-event-log-from-the-cli&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 17:18:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133583#M27452</guid>
      <dc:creator>kceleslie</dc:creator>
      <dc:date>2014-04-16T17:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder add Windows Event log command line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133584#M27453</link>
      <description>&lt;P&gt;You should be able to make a REST call against yourself from the CLI using this endpoint: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTinput#POST_data.2Finputs.2Fwin-event-log-collections"&gt;http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTinput#POST_data.2Finputs.2Fwin-event-log-collections&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2014 17:29:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133584#M27453</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-16T17:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder add Windows Event log command line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133585#M27454</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;Monitored Event Log Collections:
        localhost
                disabled:1
                hosts:localhost
                index:default
                logs:
                        Application
                        ForwardedEvents
                        HardwareEvents
                        Internet Explorer
                        Security
                        Setup
                        System
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Just got the above as the result of &lt;/P&gt;

&lt;P&gt;C:\Program Files\SplunkUniversalForwarder\bin&amp;gt;splunk list eventlog&lt;/P&gt;

&lt;P&gt;how to enable the log monitor ?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Oct 2014 11:27:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133585#M27454</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-10-01T11:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Forwarder add Windows Event log command line</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133586#M27455</link>
      <description>&lt;P&gt;edit C:\Program Files\SplunkUniversalForwarder\etc\system\local\inputs.conf and add:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Application]
disabled = 0 
[WinEventLog://Security]
disabled = 0 
[WinEventLog://System]
disabled = 0 
[WinEventLog://DNS Server]
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then restart the windows service for the universal forwarder to re-read the changes.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 03:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Forwarder-add-Windows-Event-log-command-line/m-p/133586#M27455</guid>
      <dc:creator>bbiandov</dc:creator>
      <dc:date>2016-03-24T03:57:56Z</dc:date>
    </item>
  </channel>
</rss>

