<?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: ,Guacamole Docker logs in Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414247#M73268</link>
    <description>&lt;P&gt;Hey Tezarin, &lt;/P&gt;

&lt;P&gt;Thats Splunk URL looks wrong, 8089 is the management port for Splunk....you want the HTTP Event Collector (HEC) port, which is usually 8088. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Splunk-URL - Path to your Splunk Enterprise, self-service Splunk Cloud instance, or Splunk Cloud managed cluster (including port and scheme used by HTTP Event Collector) in one of the following formats: &lt;A href="https://your_splunk_instance:8088" target="test_blank"&gt;https://your_splunk_instance:8088&lt;/A&gt; or &lt;A href="https://input-prd-p-XXXXXXX.cloud.splunk.com:8088" target="test_blank"&gt;https://input-prd-p-XXXXXXX.cloud.splunk.com:8088&lt;/A&gt; or &lt;A href="https://http-inputs-XXXXXXXX.splunkcloud.com" target="test_blank"&gt;https://http-inputs-XXXXXXXX.splunkcloud.com&lt;/A&gt;.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.docker.com/config/containers/logging/splunk/#splunk-options"&gt;https://docs.docker.com/config/containers/logging/splunk/#splunk-options&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also, what version of Docker are you using? We recently released Splunk Connect for Docker, a fully supported update to the logging driver that uses docker's v2 plugin arch and that supersedes the old Splunk logging driver (community supported), but depends on a updated docker engine: &lt;A href="https://github.com/splunk/docker-logging-plugin"&gt;https://github.com/splunk/docker-logging-plugin&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Be sure to check that out!&lt;/P&gt;</description>
    <pubDate>Fri, 29 Jun 2018 17:04:11 GMT</pubDate>
    <dc:creator>mattymo</dc:creator>
    <dc:date>2018-06-29T17:04:11Z</dc:date>
    <item>
      <title>,Guacamole Docker logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414246#M73267</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I would like the Guacamole logs to get forwarded  to the Splunk server and  I added the log forwarding parameters I found on Splunk docs and ran:&lt;BR /&gt;
 ﻿docker inspect -f '{{.HostConfig.LogConfig.Type}}' containerID&lt;BR /&gt;
 and the output was:  Splunk, &lt;/P&gt;

&lt;P&gt;But I checked on the splunk server, ran the query on the docker host and searched for guacamole, it did not return anything.&lt;BR /&gt;
[/CODE]&lt;BR /&gt;
--log-opt splunk-token=*******************  \&lt;BR /&gt;
--log-opt splunk-url=&lt;A href="https://splunk"&gt;https://splunk&lt;/A&gt; aws server:8089 \&lt;BR /&gt;
--log-opt splunk-insecureskipverify=true \&lt;BR /&gt;
--log-opt splunk-caname=SplunkServerDefaultCert \&lt;BR /&gt;
I did the same thing on another host using the  same splunk token and was able  to see the docker logs on the splunk server.&lt;BR /&gt;
[/CODE]&lt;BR /&gt;
Can someone please help me with that?&lt;BR /&gt;
Thank you&lt;BR /&gt;
,Hi,&lt;/P&gt;

&lt;P&gt;I would like the Guacamole logs to get forwarded  to the Splunk server and  I added the log forwarding parameters I found on Splunk docs and ran ﻿docker inspect -f '{{.HostConfig.LogConfig.Type}}' containerID&lt;BR /&gt;
 and the output was:  Splunk, but I checked on the splunk server, ran the query on the docker host and searched for guacamole, it did not return anything.&lt;/P&gt;

&lt;P&gt;--log-opt splunk-token=*******************  \&lt;BR /&gt;
--log-opt splunk-url=&lt;A href="https://splunk"&gt;https://splunk&lt;/A&gt; aws server:8089 \&lt;BR /&gt;
--log-opt splunk-insecureskipverify=true \&lt;BR /&gt;
--log-opt splunk-caname=SplunkServerDefaultCert \&lt;/P&gt;

&lt;P&gt;I did the same thing on another host using the  same splunk token and was able  to see the docker logs on the splunk server.&lt;/P&gt;

&lt;P&gt;Can someone please help me with that?&lt;/P&gt;

&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 16:05:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414246#M73267</guid>
      <dc:creator>tezarin</dc:creator>
      <dc:date>2018-06-29T16:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: ,Guacamole Docker logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414247#M73268</link>
      <description>&lt;P&gt;Hey Tezarin, &lt;/P&gt;

&lt;P&gt;Thats Splunk URL looks wrong, 8089 is the management port for Splunk....you want the HTTP Event Collector (HEC) port, which is usually 8088. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Splunk-URL - Path to your Splunk Enterprise, self-service Splunk Cloud instance, or Splunk Cloud managed cluster (including port and scheme used by HTTP Event Collector) in one of the following formats: &lt;A href="https://your_splunk_instance:8088" target="test_blank"&gt;https://your_splunk_instance:8088&lt;/A&gt; or &lt;A href="https://input-prd-p-XXXXXXX.cloud.splunk.com:8088" target="test_blank"&gt;https://input-prd-p-XXXXXXX.cloud.splunk.com:8088&lt;/A&gt; or &lt;A href="https://http-inputs-XXXXXXXX.splunkcloud.com" target="test_blank"&gt;https://http-inputs-XXXXXXXX.splunkcloud.com&lt;/A&gt;.&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.docker.com/config/containers/logging/splunk/#splunk-options"&gt;https://docs.docker.com/config/containers/logging/splunk/#splunk-options&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also, what version of Docker are you using? We recently released Splunk Connect for Docker, a fully supported update to the logging driver that uses docker's v2 plugin arch and that supersedes the old Splunk logging driver (community supported), but depends on a updated docker engine: &lt;A href="https://github.com/splunk/docker-logging-plugin"&gt;https://github.com/splunk/docker-logging-plugin&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Be sure to check that out!&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 17:04:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414247#M73268</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2018-06-29T17:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: ,Guacamole Docker logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414248#M73269</link>
      <description>&lt;P&gt;Hi mmodestino,&lt;/P&gt;

&lt;P&gt;Thank you for your reply. My docker version on both docker hosts is: Docker version 18.03.1-ce, build 9ee9f40&lt;/P&gt;

&lt;P&gt;I have two docker hosts and started forwarding the docker logs on the host1 to Splunk (port 8089 - our admin's advised me to use 8089, not sure why). Docker host 1's logs showed up on  Splunk, but docker host 2/s docker logs did not show up. I used the very same token for both and to troubleshoot, I even created a new token for the second host but the logs still are not showing up on the host.&lt;/P&gt;

&lt;P&gt;Can you please advise how I can fix  this issue? Thank you in advance&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 17:23:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414248#M73269</guid>
      <dc:creator>tezarin</dc:creator>
      <dc:date>2018-06-29T17:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: ,Guacamole Docker logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414249#M73270</link>
      <description>&lt;P&gt;Can you curl the HEC endpoint from the cli of the docker host?&lt;/P&gt;

&lt;P&gt;use this to test, just insert your token and/or desired index and correct port to confirm you can reach HEC:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   ```curl -k &lt;A href="https://:8088/services/collector" target="test_blank"&gt;https://:8088/services/collector&lt;/A&gt; -H 'Authorization: Splunk $yourToken ' -d '{"sourcetype": "mysourcetype", "event":"Hello, World!"}' 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;```&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/event-collector/SP-CAAAE7F"&gt;http://dev.splunk.com/view/event-collector/SP-CAAAE7F&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Then we need to talk to your admins, i think....and point them to this plugin - &lt;A href="https://github.com/splunk/docker-logging-plugin"&gt;https://github.com/splunk/docker-logging-plugin&lt;/A&gt; - as it is the new and improved, docker certified, Splunk supported, open source way to move these logs, and based on your docker version, you should be able to use the plugin as the node default in daemon.json!&lt;/P&gt;

&lt;P&gt;You definitely don't normally want to be forwarding over port 8089....I am not sure why that is what you were told, but maybe they have reasons??? if they truly are serving hec on 8089, then try the above command to send an event...also I believe you should check the local docker daemon logs to see if it points to something...&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 19:29:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414249#M73270</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2018-06-29T19:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: ,Guacamole Docker logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414250#M73271</link>
      <description>&lt;P&gt;Thank you.Here is the output for port 8088:&lt;/P&gt;

&lt;P&gt;{"text":"Success","code":0}&lt;/P&gt;

&lt;P&gt;Port 8089's result:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;msg type="WARN"&amp;gt;call not properly authenticated&amp;lt;/msg&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 29 Jun 2018 20:15:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414250#M73271</guid>
      <dc:creator>tezarin</dc:creator>
      <dc:date>2018-06-29T20:15:46Z</dc:date>
    </item>
    <item>
      <title>Re: ,Guacamole Docker logs in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414251#M73272</link>
      <description>&lt;P&gt;then send to 8088 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Jun 2018 22:07:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Guacamole-Docker-logs-in-Splunk/m-p/414251#M73272</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2018-06-29T22:07:03Z</dc:date>
    </item>
  </channel>
</rss>

