<?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: How to collect data from a Windows Server Container? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-collect-data-from-a-Windows-Server-Container/m-p/316355#M59153</link>
    <description>&lt;P&gt;Answering my own question after research and consulting with Microsoft:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;When an app writes to standard out, use the Docker Logging Driver for Splunk, which sends data to HEC. However, this is not as commonly done on Windows.&lt;/LI&gt;
&lt;LI&gt;When using logging libraries such as Log4Net or Log4J, or &lt;A href="http://dev.splunk.com/tools"&gt;Splunk's logging tools&lt;/A&gt;, these can be easily reconfigured to send data to HEC.&lt;/LI&gt;
&lt;LI&gt;Event logs must be either pushed or pulled from the container, to another system. One approach that makes sense in a containerized environment is to use &lt;A href="https://docs.microsoft.com/en-us/windows/threat-protection/use-windows-event-forwarding-to-assist-in-instrusion-detection"&gt;Windows Event Log Forwarding&lt;/A&gt; (WEF) to push logs from containers to the host OS. Use the Universal Forwarder on the host OS to collect these logs.&lt;/LI&gt;
&lt;LI&gt;Perfmon (performance metrics) objects may exist on the host which can be collected via UF. (This item needs further research.)&lt;/LI&gt;
&lt;LI&gt;Log files can be mounted using shared volumes (a WSC/docker feature, &lt;A href="https://blogs.msdn.microsoft.com/containerstuff/2017/08/18/using-the-windows-eventviewer-gui-to-view-eventlogs-in-containers/"&gt;example here&lt;/A&gt;) to a separate container, or the host OS, and then use the standard file monitor feature in Splunk. &lt;/LI&gt;
&lt;LI&gt;More specific WSC troubleshooting techniques are outlined on &lt;A href="https://docs.microsoft.com/en-us/virtualization/windowscontainers/troubleshooting"&gt;docs.microsoft.com&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Thu, 30 Nov 2017 20:42:54 GMT</pubDate>
    <dc:creator>hrottenberg_spl</dc:creator>
    <dc:date>2017-11-30T20:42:54Z</dc:date>
    <item>
      <title>How to collect data from a Windows Server Container?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-collect-data-from-a-Windows-Server-Container/m-p/316354#M59152</link>
      <description>&lt;P&gt;We are migrating an existing Microsoft ASP.net application from running on a full OS to running in a &lt;A href="https://docs.microsoft.com/en-us/virtualization/windowscontainers/about/"&gt;Windows Server Container&lt;/A&gt; (on Server 2016), which is similar to Docker (and cross-compatible with Docker API &amp;amp; many of its management features). Today, we use a Universal Forwarder to collect system logs, event logs, and perfmon metrics. How can we do the same when the processes are running in a container, and container best practices rule out installing agents inside of the container?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2017 20:27:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-collect-data-from-a-Windows-Server-Container/m-p/316354#M59152</guid>
      <dc:creator>hrottenberg_spl</dc:creator>
      <dc:date>2017-11-30T20:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to collect data from a Windows Server Container?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-collect-data-from-a-Windows-Server-Container/m-p/316355#M59153</link>
      <description>&lt;P&gt;Answering my own question after research and consulting with Microsoft:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;When an app writes to standard out, use the Docker Logging Driver for Splunk, which sends data to HEC. However, this is not as commonly done on Windows.&lt;/LI&gt;
&lt;LI&gt;When using logging libraries such as Log4Net or Log4J, or &lt;A href="http://dev.splunk.com/tools"&gt;Splunk's logging tools&lt;/A&gt;, these can be easily reconfigured to send data to HEC.&lt;/LI&gt;
&lt;LI&gt;Event logs must be either pushed or pulled from the container, to another system. One approach that makes sense in a containerized environment is to use &lt;A href="https://docs.microsoft.com/en-us/windows/threat-protection/use-windows-event-forwarding-to-assist-in-instrusion-detection"&gt;Windows Event Log Forwarding&lt;/A&gt; (WEF) to push logs from containers to the host OS. Use the Universal Forwarder on the host OS to collect these logs.&lt;/LI&gt;
&lt;LI&gt;Perfmon (performance metrics) objects may exist on the host which can be collected via UF. (This item needs further research.)&lt;/LI&gt;
&lt;LI&gt;Log files can be mounted using shared volumes (a WSC/docker feature, &lt;A href="https://blogs.msdn.microsoft.com/containerstuff/2017/08/18/using-the-windows-eventviewer-gui-to-view-eventlogs-in-containers/"&gt;example here&lt;/A&gt;) to a separate container, or the host OS, and then use the standard file monitor feature in Splunk. &lt;/LI&gt;
&lt;LI&gt;More specific WSC troubleshooting techniques are outlined on &lt;A href="https://docs.microsoft.com/en-us/virtualization/windowscontainers/troubleshooting"&gt;docs.microsoft.com&lt;/A&gt;.&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 30 Nov 2017 20:42:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-collect-data-from-a-Windows-Server-Container/m-p/316355#M59153</guid>
      <dc:creator>hrottenberg_spl</dc:creator>
      <dc:date>2017-11-30T20:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to collect data from a Windows Server Container?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-collect-data-from-a-Windows-Server-Container/m-p/316356#M59154</link>
      <description>&lt;P&gt;We are providing a solution for Monitoring Windows Containers in Splunk, that includes forwarding container logs and metrics, you can find the demo on our website &lt;A href="https://www.outcoldsolutions.com/"&gt;https://www.outcoldsolutions.com/&lt;/A&gt; and certified application on Splunk base &lt;A href="https://splunkbase.splunk.com/app/3858/"&gt;https://splunkbase.splunk.com/app/3858/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 02:05:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-collect-data-from-a-Windows-Server-Container/m-p/316356#M59154</guid>
      <dc:creator>outcoldman</dc:creator>
      <dc:date>2018-04-19T02:05:31Z</dc:date>
    </item>
  </channel>
</rss>

