<?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: Splunk indexer is not able to get the data from the splunk forwarder in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358827#M13262</link>
    <description>&lt;P&gt;Remove this setting from inputs.conf forwarder&lt;BR /&gt;
[default]&lt;BR /&gt;
host = n01aplXXX.XXX.YY.PPPP.GGG&lt;BR /&gt;
[splunktcp://9997]&lt;BR /&gt;
connection_host = none&lt;/P&gt;

&lt;P&gt;Just write&lt;BR /&gt;
[monitor:///opt/app/test/testlog/testLog.log]&lt;BR /&gt;
index= np_test&lt;BR /&gt;
sourcetype = 3dev1&lt;/P&gt;

&lt;P&gt;also, have you configured forwarder correctly?&lt;BR /&gt;
in order to send the data to indexer&lt;BR /&gt;
you need to run&lt;BR /&gt;
cd /opt/splunk/bin&lt;BR /&gt;
./splunk add forward-server index_ip:9997&lt;/P&gt;

&lt;P&gt;refer this doc for forwarder configuration: &lt;A href="http://docs.splunk.com/Documentation/Forwarder/6.5.3/Forwarder/Configuretheuniversalforwarder"&gt;http://docs.splunk.com/Documentation/Forwarder/6.5.3/Forwarder/Configuretheuniversalforwarder&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;refer below doc for how to forward data to indexer:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Forwarder/7.0.0/Forwarder/HowtoforwarddatatoSplunkEnterprise"&gt;http://docs.splunk.com/Documentation/Forwarder/7.0.0/Forwarder/HowtoforwarddatatoSplunkEnterprise&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;also, you can check for forwarder logs to troubleshoot &lt;BR /&gt;
on the forwarder go to &lt;STRONG&gt;vi /opt/splunkforwarder/var/log/splunk/splunkd.log&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;check for this link it might help you:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/465/ive-set-up-a-forwarder-but-im-not-receving-any-events-on-the-splunk-indexer.html"&gt;https://answers.splunk.com/answers/465/ive-set-up-a-forwarder-but-im-not-receving-any-events-on-the-splunk-indexer.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if it works!&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2017 06:50:21 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2017-11-10T06:50:21Z</dc:date>
    <item>
      <title>Splunk indexer is not able to get the data from the splunk forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358825#M13260</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;I am trying to install splunk enterprise trial version in our infrastructure for the evaluation purpose. &lt;/P&gt;

&lt;P&gt;I configured splunk enterprise in one of dev linux box and forwarder in another dev linux box. Trying to forward the data through forwarder.&lt;/P&gt;

&lt;P&gt;When i see the log in splunk forwarder linux box it seems to me it is connected to Splunk enterprise server &lt;/P&gt;

&lt;P&gt;Checked the log: /opt/app/test/splunkforwarder/var/log/splunk/splunkd.log | grep TcpOutputProc&lt;/P&gt;

&lt;P&gt;11-09-2017 15:08:12.538 -0700 INFO  TcpOutputProc - Connected to idx=001.001.001.95:9997, pset=0, reuse=0.&lt;/P&gt;

&lt;P&gt;Note: IP 001.001.001.95 is changed, as it is for splunk enterprise server. &lt;/P&gt;

&lt;P&gt;When i check the Splunk enterprise for port 9997, i see below details &lt;/P&gt;

&lt;P&gt;[XXXXXXXX ~]$ netstat -anp|grep 9997&lt;BR /&gt;
(Not all processes could be identified, non-owned process info&lt;BR /&gt;
 will not be shown, you would have to be root to see it all.)&lt;BR /&gt;
tcp        0      0 0.0.0.0:9997                0.0.0.0:*                   LISTEN      1893/splunkd&lt;BR /&gt;
tcp        0      0 001.001.001.95:9997           001.001.001.02:30189         ESTABLISHED 1893/splunkd&lt;BR /&gt;
tcp        0      0 001.001.001.95:9997           001.001.001.02:54039        ESTABLISHED 1893/splunkd&lt;/P&gt;

&lt;P&gt;ESTABLISHED  connection is showing for my splunk forwarder linux server - not sure if it is correct &lt;/P&gt;

&lt;P&gt;My Splunk forwarder configuration is as below: &lt;/P&gt;

&lt;P&gt;=====splunkforwarder/etc/system/local/inputs.conf&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
host = n01aplXXX.XXX.YY.PPPP.GGG&lt;BR /&gt;
[splunktcp://9997]&lt;BR /&gt;
connection_host = none&lt;BR /&gt;
[monitor:///opt/app/test/testlog/testLog.log]&lt;BR /&gt;
sourcetype = 3dev1&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index= np_test&lt;/P&gt;

&lt;P&gt;=====splunkforwarder/etc/system/local/outputs.conf ---  001.001.001.95 is splunk enterprise server IP&lt;/P&gt;

&lt;P&gt;defaultGroup = default-autolb-group&lt;BR /&gt;
[tcpout:default-autolb-group]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
server =  001.001.001.95:9997&lt;BR /&gt;
[tcpout-server:// 001.001.001.95:9997]&lt;/P&gt;

&lt;P&gt;===== Splunk enterprise server configuration &lt;BR /&gt;
added Forwarding and receiving » Receive data -- port as 9997 &lt;/P&gt;

&lt;P&gt;under Forwarder Management i am able to see my splunk forwarder clients details &lt;/P&gt;

&lt;P&gt;I am seeing data from splunk forwarder, please suggest what i am missing. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:41:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358825#M13260</guid>
      <dc:creator>samarkumar</dc:creator>
      <dc:date>2020-09-29T16:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexer is not able to get the data from the splunk forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358826#M13261</link>
      <description>&lt;P&gt;Your last sentence say that you are seeing data from the Splunk Forwarder. So this means you are getting the data... I&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | stats count by host
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Run that search and you should see both your local Splunk server and the remote server...&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 06:44:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358826#M13261</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2017-11-10T06:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexer is not able to get the data from the splunk forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358827#M13262</link>
      <description>&lt;P&gt;Remove this setting from inputs.conf forwarder&lt;BR /&gt;
[default]&lt;BR /&gt;
host = n01aplXXX.XXX.YY.PPPP.GGG&lt;BR /&gt;
[splunktcp://9997]&lt;BR /&gt;
connection_host = none&lt;/P&gt;

&lt;P&gt;Just write&lt;BR /&gt;
[monitor:///opt/app/test/testlog/testLog.log]&lt;BR /&gt;
index= np_test&lt;BR /&gt;
sourcetype = 3dev1&lt;/P&gt;

&lt;P&gt;also, have you configured forwarder correctly?&lt;BR /&gt;
in order to send the data to indexer&lt;BR /&gt;
you need to run&lt;BR /&gt;
cd /opt/splunk/bin&lt;BR /&gt;
./splunk add forward-server index_ip:9997&lt;/P&gt;

&lt;P&gt;refer this doc for forwarder configuration: &lt;A href="http://docs.splunk.com/Documentation/Forwarder/6.5.3/Forwarder/Configuretheuniversalforwarder"&gt;http://docs.splunk.com/Documentation/Forwarder/6.5.3/Forwarder/Configuretheuniversalforwarder&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;refer below doc for how to forward data to indexer:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Forwarder/7.0.0/Forwarder/HowtoforwarddatatoSplunkEnterprise"&gt;http://docs.splunk.com/Documentation/Forwarder/7.0.0/Forwarder/HowtoforwarddatatoSplunkEnterprise&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;also, you can check for forwarder logs to troubleshoot &lt;BR /&gt;
on the forwarder go to &lt;STRONG&gt;vi /opt/splunkforwarder/var/log/splunk/splunkd.log&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;check for this link it might help you:&lt;BR /&gt;
&lt;A href="https://answers.splunk.com/answers/465/ive-set-up-a-forwarder-but-im-not-receving-any-events-on-the-splunk-indexer.html"&gt;https://answers.splunk.com/answers/465/ive-set-up-a-forwarder-but-im-not-receving-any-events-on-the-splunk-indexer.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Let me know if it works!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 06:50:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358827#M13262</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2017-11-10T06:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexer is not able to get the data from the splunk forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358828#M13263</link>
      <description>&lt;P&gt;Thanks for your input. &lt;/P&gt;

&lt;P&gt;When i ran index=_internal | stats count by host i am able to see splunk forwarder following data, but i am not seeing the data which i am monitoring: &lt;STRONG&gt;[monitor:///opt/app/test/testlog/testLog.log]&lt;/STRONG&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;splunkd&lt;/LI&gt;
&lt;LI&gt;splunkd_access&lt;/LI&gt;
&lt;LI&gt;splunk_btool&lt;/LI&gt;
&lt;LI&gt;splunkd_stdout-too_small&lt;/LI&gt;
&lt;LI&gt;splunkd_stderr&lt;/LI&gt;
&lt;LI&gt;splunkd_conf&lt;/LI&gt;
&lt;/UL&gt;

&lt;H1&gt;further i changed inputs.conf as below: &lt;/H1&gt;

&lt;P&gt;[monitor:///opt/app/test/testlog/cccmLog.log]&lt;BR /&gt;
index= np_test&lt;BR /&gt;
sourcetype = 3dev1&lt;/P&gt;

&lt;P&gt;===&lt;BR /&gt;
my output.conf look as below: &lt;/P&gt;

&lt;P&gt;==== &lt;BR /&gt;
[tcpout]&lt;BR /&gt;
defaultGroup = splunk&lt;BR /&gt;
[tcpout:splunk]&lt;/P&gt;

&lt;H1&gt;server = server ip as (xx.xx.xx.xx):9997&lt;/H1&gt;

&lt;P&gt;i checked splunkd.log and find following : &lt;/P&gt;

&lt;P&gt;kforwarder/var/log/splunk/license_usage.log'.&lt;BR /&gt;
11-10-2017 12:13:29.117 -0700 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/opt/app/test/splunkforwarder/var/log/splunk/mongod.log'.&lt;BR /&gt;
11-10-2017 12:13:29.125 -0700 INFO  WatchedFile - Will begin reading at offset=2440 for file='/opt/app/test/splunkforwarder/var/log/splunk/splunkd_stderr.log'.&lt;BR /&gt;
11-10-2017 12:13:29.128 -0700 INFO  TcpOutputProc - Connected to idx=xx.xx.xx.xx:9997, pset=0, reuse=0.&lt;BR /&gt;
11-10-2017 12:13:29.128 -0700 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/opt/app/test/splunkforwarder/var/log/splunk/searchhistory.log'.&lt;BR /&gt;
11-10-2017 12:13:29.129 -0700 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/opt/app/test/splunkforwarder/var/log/splunk/scheduler.log'.&lt;BR /&gt;
11-10-2017 12:13:29.144 -0700 INFO  WatchedFile - Will begin reading at offset=7590331 for file='/opt/app/test/splunkforwarder/var/log/splunk/metrics.log'.&lt;BR /&gt;
11-10-2017 12:13:29.161 -0700 INFO  WatchedFile - Will begin reading at offset=80220 for file='/opt/app/test/splunkforwarder/var/log/splunk/audit.log'.&lt;BR /&gt;
11-10-2017 12:13:29.163 -0700 INFO  WatchedFile - Will begin reading at offset=17159 for file='/opt/app/test/splunkforwarder/var/log/splunk/splunkd-utility.log'.&lt;BR /&gt;
11-10-2017 12:13:29.166 -0700 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/opt/app/test/splunkforwarder/var/log/splunk/remote_searches.log'.&lt;BR /&gt;
11-10-2017 12:13:29.169 -0700 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/opt/app/test/splunkforwarder/var/log/splunk/splunkd_ui_access.log'.&lt;BR /&gt;
11-10-2017 12:13:29.172 -0700 INFO  WatchedFile - File too small to check seekcrc, probably truncated.  Will re-read entire file='/opt/app/test/splunkforwarder/var/log/splunk/license_usage_summary.log'.&lt;BR /&gt;
11-10-2017 12:13:29.184 -0700 INFO  WatchedFile - Will begin reading at offset=7000 for file='/opt/app/test/splunkforwarder/var/log/splunk/conf.log'.&lt;BR /&gt;
11-10-2017 12:13:40.933 -0700 INFO  DC:DeploymentClient - channel=tenantService/handshake Will retry sending handshake message to DS; err=not_connected&lt;BR /&gt;
11-10-2017 12:13:52.934 -0700 INFO  DC:DeploymentClient - channel=tenantService/handshake Will retry sending handshake message to DS; err=not_connected&lt;BR /&gt;
11-10-2017 12:14:04.934 -0700 INFO  DC:DeploymentClient - channel=tenantService/handshake Will retry sending handshake message to DS; err=not_connected&lt;BR /&gt;
11-10-2017 12:14:14.693 -0700 INFO  ProxyConfig - Failed to initialize http_proxy from server.conf for splunkd. Please make sure that the http_proxy property is set as http_proxy=&lt;A href="http://host:port" target="_blank"&gt;http://host:port&lt;/A&gt; in case HTTP proxying needs to be enabled.&lt;BR /&gt;
11-10-2017 12:14:14.693 -0700 INFO  ProxyConfig - Failed to initialize https_proxy from server.conf for splunkd. Please make sure that the https_proxy property is set as https_proxy=&lt;A href="http://host:port" target="_blank"&gt;http://host:port&lt;/A&gt; in case HTTP proxying needs to be enabled.&lt;BR /&gt;
11-10-2017 12:14:14.693 -0700 INFO  ProxyConfig - Failed to initialize the no_proxy setting from server.conf for splunkd. Please provide a valid set of no_proxy rules in case HTTP proxying needs to be enabled.&lt;/P&gt;

&lt;P&gt;do i need to change any thing in server.conf ?? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:42:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358828#M13263</guid>
      <dc:creator>samarkumar</dc:creator>
      <dc:date>2020-09-29T16:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk indexer is not able to get the data from the splunk forwarder</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358829#M13264</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;
i did ./splunk list forward-server and found that active forwards to indexer Ip and Port &lt;/P&gt;

&lt;P&gt;indexer IP:9997 &lt;/P&gt;

&lt;P&gt;Configured but inactive forwards:&lt;BR /&gt;
        None&lt;/P&gt;

&lt;P&gt;i checked the url &lt;A href="https://answers.splunk.com/answers/465/ive-set-up-a-forwarder-but-im-not-receving-any-events-on-the-splunk-indexer.html" target="_blank"&gt;https://answers.splunk.com/answers/465/ive-set-up-a-forwarder-but-im-not-receving-any-events-on-the-splunk-indexer.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and found that using index=_internal source=*metrics.log tcpin_connections &lt;/P&gt;

&lt;P&gt;in splunk logs as below: &lt;/P&gt;

&lt;P&gt;=====&lt;BR /&gt;
11-10-2017 16:44:41.999 -0700 INFO  Metrics - group=tcpin_connections, 1XX.XX8.X4.X0:47185:9997, connectionType=cooked, sourcePort=47185, sourceHost=1XX.XX8.X4.X0, sourceIp=1XX.XX8.X4.X0, destPort=9997, kb=7.93, _tcp_Bps=261.99, _tcp_KBps=0.26, _tcp_avg_thruput=0.27, _tcp_Kprocessed=2271.78, _tcp_eps=0.19, _process_time_ms=0, evt_misc_kBps=0.00, evt_raw_kBps=0.23, evt_fields_kBps=0.00, evt_fn_kBps=0.00, evt_fv_kBps=0.00, evt_fn_str_kBps=0.00, evt_fn_meta_dyn_kBps=0.00, evt_fn_meta_predef_kBps=0.00, evt_fn_meta_str_kBps=0.00, evt_fv_num_kBps=0.00, evt_fv_str_kBps=0.00, evt_fv_predef_kBps=0.00, evt_fv_offlen_kBps=0.00, evt_fv_fp_kBps=0.00, build=c8a78efdd40f, version=7.0.0, os=Linux, arch=x86_64, hostname=XXXXXXXXXXXXXXXXXXX, guid=XXXXXXXXXXXXX, fwdType=uf, ssl=false, lastIndexer=XXX.XX.XX.XX:9997, ack=false  &lt;/P&gt;

&lt;P&gt;====&lt;BR /&gt;
It looks like every other logs i am getting other than monitoring file  which is pointed to index np_test and source type 3dev1. [monitor:///opt/app/test/testlog/testLog.log]&lt;/P&gt;

&lt;P&gt;please suggest how to rectify this. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 16:42:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/Splunk-indexer-is-not-able-to-get-the-data-from-the-splunk/m-p/358829#M13264</guid>
      <dc:creator>samarkumar</dc:creator>
      <dc:date>2020-09-29T16:42:15Z</dc:date>
    </item>
  </channel>
</rss>

