<?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 How do I send Kubernetes Node name to Splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-send-Kubernetes-Node-name-to-Splunk/m-p/447449#M174113</link>
    <description>&lt;P&gt;We are running a Kubernetes cluster and are shipping pod logs to Splunk Cloud. &lt;/P&gt;

&lt;P&gt;Our current setup:&lt;BR /&gt;
1. Universal forwarders are deployed as Daemonset, which monitors  &lt;CODE&gt;/var/log/containers/*&lt;/CODE&gt;. Sample from &lt;CODE&gt;inputs.conf&lt;/CODE&gt;:&lt;BR /&gt;
&lt;CODE&gt;[monitor:///var/log/containers/kube*.log]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;host_regex = /var/log/containers/(.*)_.*_.*\.log&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;sourcetype = kube-state&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;index = kepler-dev&lt;/CODE&gt;&lt;BR /&gt;
2. The Universal forwarders send data to heavy forwards which applies some regex &lt;BR /&gt;
3. Heavy forwarders send data to Splunk Cloud for indexing&lt;/P&gt;

&lt;P&gt;I want to send the hostname of the worker node either as part of the host or a separate field. Is there a way I can achieve this?&lt;/P&gt;</description>
    <pubDate>Fri, 14 Dec 2018 20:14:33 GMT</pubDate>
    <dc:creator>catchaj88</dc:creator>
    <dc:date>2018-12-14T20:14:33Z</dc:date>
    <item>
      <title>How do I send Kubernetes Node name to Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-send-Kubernetes-Node-name-to-Splunk/m-p/447449#M174113</link>
      <description>&lt;P&gt;We are running a Kubernetes cluster and are shipping pod logs to Splunk Cloud. &lt;/P&gt;

&lt;P&gt;Our current setup:&lt;BR /&gt;
1. Universal forwarders are deployed as Daemonset, which monitors  &lt;CODE&gt;/var/log/containers/*&lt;/CODE&gt;. Sample from &lt;CODE&gt;inputs.conf&lt;/CODE&gt;:&lt;BR /&gt;
&lt;CODE&gt;[monitor:///var/log/containers/kube*.log]&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;host_regex = /var/log/containers/(.*)_.*_.*\.log&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;sourcetype = kube-state&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;index = kepler-dev&lt;/CODE&gt;&lt;BR /&gt;
2. The Universal forwarders send data to heavy forwards which applies some regex &lt;BR /&gt;
3. Heavy forwarders send data to Splunk Cloud for indexing&lt;/P&gt;

&lt;P&gt;I want to send the hostname of the worker node either as part of the host or a separate field. Is there a way I can achieve this?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Dec 2018 20:14:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-send-Kubernetes-Node-name-to-Splunk/m-p/447449#M174113</guid>
      <dc:creator>catchaj88</dc:creator>
      <dc:date>2018-12-14T20:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do I send Kubernetes Node name to Splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-send-Kubernetes-Node-name-to-Splunk/m-p/447450#M174114</link>
      <description>&lt;P&gt;I would highly suggest looking for the alternatives for forwarding Kubernetes logs to Splunk:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Open Source Free version of &lt;A href="https://github.com/splunk/splunk-connect-for-kubernetes"&gt;Splunk Connect for Kubernetes&lt;/A&gt; - this is a recommended by Splunk option for forwarding logs, built on top of FluentD.&lt;/LI&gt;
&lt;LI&gt;&lt;A href="https://www.outcoldsolutions.com"&gt;Monitoring Kubernetes with Collectord&lt;/A&gt; by Outcold Solutions (I represent this company) - this is a proprietary software, takes 10 minutes to set up to forward logs and collect metrics. This is a complete solution for forwarding container, application, host logs, monitor performance of containers and health of the clusters.&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 17 Dec 2018 17:09:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-send-Kubernetes-Node-name-to-Splunk/m-p/447450#M174114</guid>
      <dc:creator>outcoldman</dc:creator>
      <dc:date>2018-12-17T17:09:11Z</dc:date>
    </item>
  </channel>
</rss>

