<?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: Kubernetes - application logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Kubernetes-application-logs/m-p/639152#M109135</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246708"&gt;@dmuley&lt;/a&gt;&amp;nbsp;- You need to install Splunk Universal forwarder onto the Kubernetes instance and monitor log files under the `&lt;STRONG&gt;/var/log&lt;/STRONG&gt;` directory usually.&lt;/P&gt;&lt;P&gt;But you can check the location of log files with the below command: (the command is deprecated BTW)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;kubectl --log-dir&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to install UF -&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Forwarder/9.0.4/Forwarder/Installanixuniversalforwarder" target="_blank"&gt;https://docs.splunk.com/Documentation/Forwarder/9.0.4/Forwarder/Installanixuniversalforwarder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How to monitor log files -&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/Monitorfilesanddirectorieswithinputs.conf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/Monitorfilesanddirectorieswithinputs.conf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&lt;/P&gt;</description>
    <pubDate>Fri, 07 Apr 2023 05:41:33 GMT</pubDate>
    <dc:creator>VatsalJagani</dc:creator>
    <dc:date>2023-04-07T05:41:33Z</dc:date>
    <item>
      <title>Kubernetes - application logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Kubernetes-application-logs/m-p/639031#M109118</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I am new to Kubernetes and splunk, I have a requirement to push logs that are generated from my spring boot app running under k8s pods to splunk,&lt;/P&gt;&lt;P&gt;How can I forward the logs that are generating under pod ?&lt;/P&gt;&lt;P&gt;I can access the logs by using the command&amp;nbsp;&lt;/P&gt;&lt;P&gt;kubectl logs &amp;lt;pod-name&amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 14:52:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Kubernetes-application-logs/m-p/639031#M109118</guid>
      <dc:creator>dmuley</dc:creator>
      <dc:date>2023-04-06T14:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Kubernetes - application logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Kubernetes-application-logs/m-p/639124#M109132</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246708"&gt;@dmuley&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;If using EKS from AWS then you can use Splunk Connect for Kubernetes&lt;BR /&gt;&amp;nbsp;&lt;A href="https://www.splunk.com/en_us/blog/partners/splunk-connect-for-kubernetes-on-eks.html" target="_blank"&gt;https://www.splunk.com/en_us/blog/partners/splunk-connect-for-kubernetes-on-eks.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can also send logs from the Master node by installing Splunk Universal Forwarder and configuring /var/log or any other log path as per your need.&lt;BR /&gt;&lt;A href="https://www.splunk.com/en_us/blog/learn/splunk-universal-forwarder.html" target="_blank"&gt;https://www.splunk.com/en_us/blog/learn/splunk-universal-forwarder.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Forwarding/Typesofforwarders" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Forwarding/Typesofforwarders&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For application specific events, you can use Splunk HTTP Event Collector (HEC) to send custom events to Splunk.&lt;BR /&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/UsetheHTTPEventCollector" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/UsetheHTTPEventCollector&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;Be sure to check the correct Splunk version documentation for configuration and implementation.&lt;BR /&gt;&lt;BR /&gt;~ If the reply helps, an upvote would be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 00:38:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Kubernetes-application-logs/m-p/639124#M109132</guid>
      <dc:creator>Gr0und_Z3r0</dc:creator>
      <dc:date>2023-04-07T00:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Kubernetes - application logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Kubernetes-application-logs/m-p/639152#M109135</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246708"&gt;@dmuley&lt;/a&gt;&amp;nbsp;- You need to install Splunk Universal forwarder onto the Kubernetes instance and monitor log files under the `&lt;STRONG&gt;/var/log&lt;/STRONG&gt;` directory usually.&lt;/P&gt;&lt;P&gt;But you can check the location of log files with the below command: (the command is deprecated BTW)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;kubectl --log-dir&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How to install UF -&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Forwarder/9.0.4/Forwarder/Installanixuniversalforwarder" target="_blank"&gt;https://docs.splunk.com/Documentation/Forwarder/9.0.4/Forwarder/Installanixuniversalforwarder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;How to monitor log files -&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/Monitorfilesanddirectorieswithinputs.conf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.4/Data/Monitorfilesanddirectorieswithinputs.conf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps!!!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 05:41:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Kubernetes-application-logs/m-p/639152#M109135</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2023-04-07T05:41:33Z</dc:date>
    </item>
  </channel>
</rss>

