<?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 Unix Forwarder is not Sending Logs in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167342#M6232</link>
    <description>&lt;P&gt;A newly installed Splunk Forwarder is not sending logs. I have configured the Receiver on Splunk Enterprise and on the forwarder: inputs.conf and outputs.conf. Please find the details of both below. We have tested the connectivity between the forwarder and splunk enterprise and they are connected. We have resolved all the errors found in the splunkd.log on the forwarder. Any thoughts as to what I may be missing?&lt;/P&gt;

&lt;P&gt;Outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]

[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = *.*.*:6060
indexAndForward=false
[tcpout-server://IP:6060]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = *.*.*
index = unix
sourcetype = unix
[monitor:/var/log/messages]
_TCP_ROUTING=*.*.*:6060
[monitor:/var/log/centrify_mapper_error.log]
_TCP_ROUTING=*.*.*:6060
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 26 Feb 2014 21:15:10 GMT</pubDate>
    <dc:creator>scc00</dc:creator>
    <dc:date>2014-02-26T21:15:10Z</dc:date>
    <item>
      <title>Unix Forwarder is not Sending Logs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167342#M6232</link>
      <description>&lt;P&gt;A newly installed Splunk Forwarder is not sending logs. I have configured the Receiver on Splunk Enterprise and on the forwarder: inputs.conf and outputs.conf. Please find the details of both below. We have tested the connectivity between the forwarder and splunk enterprise and they are connected. We have resolved all the errors found in the splunkd.log on the forwarder. Any thoughts as to what I may be missing?&lt;/P&gt;

&lt;P&gt;Outputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]

[tcpout]
defaultGroup = default-autolb-group

[tcpout:default-autolb-group]
server = *.*.*:6060
indexAndForward=false
[tcpout-server://IP:6060]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[default]
host = *.*.*
index = unix
sourcetype = unix
[monitor:/var/log/messages]
_TCP_ROUTING=*.*.*:6060
[monitor:/var/log/centrify_mapper_error.log]
_TCP_ROUTING=*.*.*:6060
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 26 Feb 2014 21:15:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167342#M6232</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2014-02-26T21:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Forwarder is not Sending Logs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167343#M6233</link>
      <description>&lt;P&gt;Are other forwarders working in your setup? Also your monitor statements seem to be off. It should be "&lt;CODE&gt;[monitor:///...]&lt;/CODE&gt;", not "&lt;CODE&gt;[monitor:/...]&lt;/CODE&gt;".&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 21:32:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167343#M6233</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2014-02-26T21:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Forwarder is not Sending Logs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167344#M6234</link>
      <description>&lt;P&gt;Your monitor stanzas are wrong in your inputs.conf file. They should read as:&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/messages]&lt;/P&gt;

&lt;P&gt;Remember you can always check in $SPLUNK_HOME/var/log/splunk/splunkd.log to get an idea of what errors might exist during startup and operation.&lt;/P&gt;

&lt;P&gt;I would also highly recommend you take a look at the nix app and its related TA for reading these kinds of logs. It will get everything into a format that other apps will be able to take advantage of. Plus, it means less work for you.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 21:35:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167344#M6234</guid>
      <dc:creator>delink</dc:creator>
      <dc:date>2014-02-26T21:35:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Forwarder is not Sending Logs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167345#M6235</link>
      <description>&lt;P&gt;I updated my inputs.conf,restarted the forwarder.Restart was clear of errors and no errors from splunkd.log either.  Just things like:                                                   &lt;/P&gt;

&lt;P&gt;Parsing configuration stanza: monitor:///var/log/messages.&lt;BR /&gt;
Adding watch on path: /opt/splunkforwarder/etc/splunk.version.&lt;BR /&gt;
Adding watch on path: /opt/splunkforwarder/var/spool/splunk.&lt;BR /&gt;
Adding watch on path: /var/log/centrify_mapper_error.log.&lt;BR /&gt;
Adding watch on path: /var/log/messages.&lt;BR /&gt;
-0500 INFO BatchReader - State transitioning from 2 to 0 (initOrResume).&lt;BR /&gt;
-0500 INFO TcpOutputProc - Connected to idx=&lt;EM&gt;.&lt;/EM&gt;.&lt;EM&gt;.&lt;/EM&gt;:6060&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:59:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167345#M6235</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2020-09-28T15:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Forwarder is not Sending Logs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167346#M6236</link>
      <description>&lt;P&gt;That is what you want to see. When you search on index=unix on your search head, do you get results?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 22:16:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167346#M6236</guid>
      <dc:creator>delink</dc:creator>
      <dc:date>2014-02-26T22:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Forwarder is not Sending Logs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167347#M6237</link>
      <description>&lt;P&gt;Here are three things you can check:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;&lt;P&gt;Are you able to see the splunkd.logs from your server on the indexer? e.g if you search "index=_internal source=*splunkd.log host=&lt;SERVERNAME&gt;.. - This should be visible if the indexer and forwarder are correctly configured to send/receive data. &lt;/SERVERNAME&gt;&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Check that the splunk user has access to those logs - if you can't read them as splunk user then it can't forward them.&lt;/P&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;P&gt;Do a search through "ALL TIME" for any logs from that host. I know it sounds stupid but I once had this issue where I thought it wasn't sending but it was actually using the wrong timestamps so events were being indexed on a date that was earlier than my search range by a few years. &lt;/P&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;If all else fails, you could turn the logging on the forwarder to DEBUG to get more information. Under $SPLUNK_HOME/etc/log.cfg.. Try setting the logging on the TailingProcessor and WatchedFile components to DEBUG and see what turns up.  &lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2014 22:25:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167347#M6237</guid>
      <dc:creator>yong_ly</dc:creator>
      <dc:date>2014-02-26T22:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Forwarder is not Sending Logs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167348#M6238</link>
      <description>&lt;P&gt;I do not get any results&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2014 16:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167348#M6238</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2014-02-27T16:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Unix Forwarder is not Sending Logs</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167349#M6239</link>
      <description>&lt;P&gt;I am able to see the splunkd.log from the server on the indexer.&lt;BR /&gt;
We made sure the splunk user has access to the logs.&lt;BR /&gt;
No logs found when i searched through all time.&lt;/P&gt;

&lt;P&gt;I'll have to turn on the debugging.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2014 20:52:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Unix-Forwarder-is-not-Sending-Logs/m-p/167349#M6239</guid>
      <dc:creator>scc00</dc:creator>
      <dc:date>2014-02-27T20:52:22Z</dc:date>
    </item>
  </channel>
</rss>

