<?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: What is the difference in these stanzas? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284713#M54385</link>
    <description>&lt;P&gt;Thanks for the quick answer, Somesh.&lt;/P&gt;

&lt;P&gt;So supposing I have the path/name correct, and it's still not digesting the .evtx file.  What then?  Both of these .evtx files live in the same directory... "C:\windows\system32\winevt\logs\", and they are both under the same provider "WLAN-AutoConfig"&lt;/P&gt;

&lt;P&gt;[WinEventLog://Microsoft-Windows-WLAN-AutoConfig/Operational]&lt;BR /&gt;
[WinEventLog://Microsoft-Windows-WLAN-Autoconfig/Diagnostic]&lt;/P&gt;

&lt;P&gt;They both have the same path and format.  But Operation is getting events, and Diagnostic is not.  &lt;/P&gt;

&lt;P&gt;I wish I could get someone to replicate my results. &lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2016 19:58:31 GMT</pubDate>
    <dc:creator>stcrispan</dc:creator>
    <dc:date>2016-09-14T19:58:31Z</dc:date>
    <item>
      <title>What is the difference in these stanzas?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284711#M54383</link>
      <description>&lt;P&gt;What is the difference between these stanzas...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog://Application]
disabled = 0
index=tablets
sourcetype=tablet_App

[WinEventLog://Microsoft-Windows-WLAN-AutoConfig/Operational]
disabled=0
index=tablets
sourcetype=tablet_WLAN_Op

[WinEventLog://Microsoft-Windows-WLAN-Autoconfig/Diagnostic]
disabled=0
index=tablets
sourcetype=tablet_WLAN_Diag
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;...and these stanzas?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinEventLog:Application]
disabled = 0
index=tablets
sourcetype=tablet_App

[WinEventLog:Microsoft-Windows-WLAN-AutoConfig/Operational]
disabled=0
index=tablets
sourcetype=tablet_WLAN_Op

[WinEventLog:Microsoft-Windows-WLAN-Autoconfig/Diagnostic]
disabled=0
index=tablets
sourcetype=tablet_WLAN_Diag
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the documentation, it says that in order to pick entries out of a file, specify the file path and name...but when picking events out of an .evtx file, it shows the second method (no "//" involved).   I used the "//" method (the first methods) in my inputs.conf and I can get &lt;CODE&gt;//Applications&lt;/CODE&gt; and even &lt;CODE&gt;//...../Operations&lt;/CODE&gt;, but I'm not getting &lt;CODE&gt;//..../Diagnostics&lt;/CODE&gt;. &lt;/P&gt;

&lt;P&gt;Is the difference critical?  Why does one work and not the other?  When using Universal Forwarder, which is the more correct method?   Why does it work for two but not the third? &lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 18:26:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284711#M54383</guid>
      <dc:creator>stcrispan</dc:creator>
      <dc:date>2016-09-14T18:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference in these stanzas?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284712#M54384</link>
      <description>&lt;P&gt;The first set of stanza are syntactly correct for monitoring Windows event logs, second one is not as it's missing those slashes. The difference is critical (that's why we have syntax).&lt;/P&gt;

&lt;P&gt;The window event log monitoring is different from regular file monitoring where you've to specify full path to the file. For windows event logs, you just need to specify the  path/name they'll be seen in Windows Event Viewer (On windows machine, go to Run-&amp;gt; eventvwr.exe ).&lt;/P&gt;

&lt;P&gt;This syntax is same for Universal forwarder OR Enterprise Splunk. &lt;/P&gt;

&lt;P&gt;For the Window Event monitoring which is not working, check if the path/name is correct.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 19:36:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284712#M54384</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-14T19:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference in these stanzas?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284713#M54385</link>
      <description>&lt;P&gt;Thanks for the quick answer, Somesh.&lt;/P&gt;

&lt;P&gt;So supposing I have the path/name correct, and it's still not digesting the .evtx file.  What then?  Both of these .evtx files live in the same directory... "C:\windows\system32\winevt\logs\", and they are both under the same provider "WLAN-AutoConfig"&lt;/P&gt;

&lt;P&gt;[WinEventLog://Microsoft-Windows-WLAN-AutoConfig/Operational]&lt;BR /&gt;
[WinEventLog://Microsoft-Windows-WLAN-Autoconfig/Diagnostic]&lt;/P&gt;

&lt;P&gt;They both have the same path and format.  But Operation is getting events, and Diagnostic is not.  &lt;/P&gt;

&lt;P&gt;I wish I could get someone to replicate my results. &lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 19:58:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284713#M54385</guid>
      <dc:creator>stcrispan</dc:creator>
      <dc:date>2016-09-14T19:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference in these stanzas?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284714#M54386</link>
      <description>&lt;P&gt;I would check if the Diagnostic event view logs are appearing on Event Viewer of that server (on the server where these files exists, go to Run-&amp;gt; eventvwr.exe ). &lt;/P&gt;

&lt;P&gt;If you want to monitor those as files, instead of Windows Event Logs, then you can setup file monitoring. See this for mre details. &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.11/Data/MonitorWindowsdata"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.11/Data/MonitorWindowsdata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 20:53:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284714#M54386</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-09-14T20:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference in these stanzas?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284715#M54387</link>
      <description>&lt;P&gt;Somesh:&lt;/P&gt;

&lt;P&gt;Yes, the Diagnostic events are showing up in the Event Viewer.  As you know, when you turn on Analytics and Diagnostics, that creates the additional categories, in this case the additional Diagnostic under WLAN-AutoConfig.  So I can definitely see the events.  Additionally, when I go into Properties for WAN-AutoConfig/Diagnostic enable the log, events logging can be confirmed by watching the file size of the created file and see that it increases. &lt;/P&gt;

&lt;P&gt;I was looking in to your suggestion of monitoring these files as files, but unfortunately, they are created in binary format, and without having the interpreter of Universal Forwarder available, I cannot get any useable data.  The alternative, copying the files over to our Splunk server, wouldn't work because as I understand it you need a server which corresponds to the device upon which the .evtx files are created in order to parse them...and our Splunk server is Linux. &lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 21:00:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/284715#M54387</guid>
      <dc:creator>stcrispan</dc:creator>
      <dc:date>2016-09-15T21:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: What is the difference in these stanzas?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/613033#M106072</link>
      <description>&lt;P&gt;I know this is going back a few years.... But did you ever find a solution to this?&amp;nbsp; Having the same problem&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 08:34:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-the-difference-in-these-stanzas/m-p/613033#M106072</guid>
      <dc:creator>manxcomish</dc:creator>
      <dc:date>2022-09-14T08:34:42Z</dc:date>
    </item>
  </channel>
</rss>

