<?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: Logs are not getting forwarded into splunk instance via splunk forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584982#M102932</link>
    <description>&lt;P&gt;OK, if you're sending data straight to udp input on your indexer it has nothing to do with the forwarder so it has no diagnostic value here.&lt;/P&gt;&lt;P&gt;About the log you showed - well, that's kinda interesting. If you only have an input defined for /var/log/messages - how are you getting the log about that Container_ImageInventory?&lt;/P&gt;&lt;P&gt;By default after installation and definition of output, the UF should only forward its own internal logs to _internal index.&lt;/P&gt;&lt;P&gt;Do a "splunk list monitor" on your forwarder. And "splunk btool inputs list --debug".&lt;/P&gt;&lt;P&gt;And see what inputs you have defined and running.&lt;/P&gt;</description>
    <pubDate>Mon, 14 Feb 2022 12:58:27 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2022-02-14T12:58:27Z</dc:date>
    <item>
      <title>Why are the logs not getting forwarded into the splunk instance via splunk forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584654#M102891</link>
      <description>&lt;P class="lia-align-left"&gt;Hi&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-left"&gt;We have installed Splunk universal forwarder on a remote server but logs are not getting forwarded to Indexer.&lt;/P&gt;
&lt;P class="lia-align-left"&gt;I have tried to troubleshoot this issue but could not do so. Can you please help me to get rid of this issue.&lt;/P&gt;
&lt;P class="lia-align-left"&gt;Below are the steps I have tried so far.&lt;/P&gt;
&lt;UL class="lia-align-left"&gt;
&lt;LI&gt;Remote server is communicating with Indexer&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-left"&gt;root@host1:/opt/splunkforwarder/etc/system/local# telnet host2 9997&lt;BR /&gt;Trying 10.20.30.40...&lt;BR /&gt;Connected to host2&lt;BR /&gt;Escape character is '^]'.&lt;BR /&gt;^]&lt;BR /&gt;telnet&amp;gt; quit&lt;BR /&gt;Connection closed.&lt;/P&gt;
&lt;UL class="lia-align-left"&gt;
&lt;LI&gt;Below is the content of&lt;STRONG&gt; outputs.conf&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-left"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; root@host1:/opt/splunkforwarder/etc/system/local# cat outputs.conf&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[tcpout]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;defaultGroup = splunk&lt;/P&gt;
&lt;P class="lia-align-left"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[tcpout:splunk]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; server = host2.ce.corp:9997&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Below is the content of &lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-left"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;root@host1:/opt/splunkforwarder/etc/system/local# cat inputs.conf&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[default]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;host = host1&lt;/P&gt;
&lt;P class="lia-align-left"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[monitor:///var/log/messages]&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;disabled = false&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sourcetype = web_haprx&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;index = webmethods_haprx&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Ran .&lt;STRONG&gt;/splunk list forward-server&lt;/STRONG&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P class="lia-align-left"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;root@host1:/opt/splunkforwarder/bin# ./splunk list forward-server&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Your session is invalid. Please login.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Splunk username: admin&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Password:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Active forwards:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;host2:9997&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Configured but inactive forwards:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; None&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;port 9997 is enabled on receiver&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Also I did check splunk.log to see any error but no luck.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Can you please help me to fix this issue?&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rahul Gupta&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 15:41:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584654#M102891</guid>
      <dc:creator>rahul2gupta</dc:creator>
      <dc:date>2022-02-14T15:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not getting forwarded into splunk instance via splunk forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584659#M102892</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/222802"&gt;@rahul2gupta&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;somethimes tyhere isn't a correct resolution of the hostname, so, please, try using IP address and than add a row to your outputs.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[tcpout]
defaultGroup = splunk

[tcpout-server://ip_address_host2:9997]

[tcpout:splunk]
server = ip_address_host2:9997&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 07:29:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584659#M102892</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-02-11T07:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not getting forwarded into splunk instance via splunk forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584660#M102893</link>
      <description>&lt;P&gt;What do you mean by "logs are not getting forwarded"? How do you know that?&lt;/P&gt;&lt;P&gt;Do you have any errors in your /opt/splunkforwarder/var/log/splunk/splunkd.log on your forwarder?&lt;/P&gt;&lt;P&gt;You can also check your _internal index for any logs from your forwarder host. If you have any logs from the forwarder, the forwarding as such is working properly so if you're not getting your events there's a problem in other part of your config.&lt;/P&gt;&lt;P&gt;Do a&lt;/P&gt;&lt;PRE&gt;| tstats count where index=_internal by host&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;for the last day or so and see whether you're getting data from that forwarder at all.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Feb 2022 07:32:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584660#M102893</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-11T07:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not getting forwarded into splunk instance via splunk forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584961#M102929</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Q:-What do you mean by "logs are not getting forwarded"? How do you know that?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It is because when am using network port UDP:5514, I can see logs into Splunk but when am trying to forward logs into Splunk. We are unable to do so. we are&amp;nbsp; trying to send /&lt;STRONG&gt;var/log/messages&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Q:-&lt;SPAN&gt;Do you have any errors in your /opt/splunkforwarder/var/log/splunk/splunkd.log on your forwarder?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;No, we could not see any errors.&amp;nbsp; It was there earlier but we fixed.&lt;/P&gt;&lt;P&gt;02-08-2022 15:39:15.907 +1100 ERROR TailingProcessor - Input stanza path, 'var/log/messages' is not absolute. This is a configuration error and may not work / break things. Change this path to an absolute path.&lt;/P&gt;&lt;P&gt;Q:-&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;whether you're getting data from that forwarder at all?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes, we are getting data. Below is the sample.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Feb 14 22:35:27 host1 Container_ImageInventory[2911256]: Container image name () is improperly formed and could not be parsed in SetRepositoryImageTag&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Rahul Gupta&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 11:39:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584961#M102929</guid>
      <dc:creator>rahul2gupta</dc:creator>
      <dc:date>2022-02-14T11:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Logs are not getting forwarded into splunk instance via splunk forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584982#M102932</link>
      <description>&lt;P&gt;OK, if you're sending data straight to udp input on your indexer it has nothing to do with the forwarder so it has no diagnostic value here.&lt;/P&gt;&lt;P&gt;About the log you showed - well, that's kinda interesting. If you only have an input defined for /var/log/messages - how are you getting the log about that Container_ImageInventory?&lt;/P&gt;&lt;P&gt;By default after installation and definition of output, the UF should only forward its own internal logs to _internal index.&lt;/P&gt;&lt;P&gt;Do a "splunk list monitor" on your forwarder. And "splunk btool inputs list --debug".&lt;/P&gt;&lt;P&gt;And see what inputs you have defined and running.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 12:58:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-are-the-logs-not-getting-forwarded-into-the-splunk-instance/m-p/584982#M102932</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-02-14T12:58:27Z</dc:date>
    </item>
  </channel>
</rss>

