<?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: file montoring on universal forwarder from splunk server in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140466#M28810</link>
    <description>&lt;P&gt;I don't see any entry for your file, and may be that is the reason its not sending any data. (not sure why CLI command didn't work). Try adding following to your splunkforwarder\etc\system\local\inputs.conf, at the end &lt;/P&gt;

&lt;P&gt;[monitor://usr/share/apache-tomcat-7.0.42/logs/catalina.out]&lt;/P&gt;

&lt;P&gt;index = default&lt;/P&gt;

&lt;P&gt;sourcetype=log4j&lt;/P&gt;</description>
    <pubDate>Wed, 13 Nov 2013 19:18:00 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2013-11-13T19:18:00Z</dc:date>
    <item>
      <title>file montoring on universal forwarder from splunk server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140461#M28805</link>
      <description>&lt;P&gt;Hi Guys,&lt;/P&gt;

&lt;P&gt;I have two instances on microsoft azure environment  one is splunk-server and other is splunk-forwarder(universalForwarder). Everything is fine with configuration ,then I tried to monitor tomcat logs and I have perform below steps on forwarder.&lt;/P&gt;

&lt;P&gt;/usr/share/splunk_setup/splunkforwarder/bin/splunk add monitor /usr/share/apache-tomcat-7.0.42/logs/catalina.out -index default -sourcetype log4j -hostname splunkforwarder&lt;/P&gt;

&lt;P&gt;But in search tab of splunk-web I always get No results found.&lt;BR /&gt;
search-query: &lt;EM&gt;host=splunkforwarder sourcetype=log4j&lt;/EM&gt; &lt;/P&gt;

&lt;P&gt;Am I missing something !!!.Please help me out. Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 15:12:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140461#M28805</guid>
      <dc:creator>lalit_mohan</dc:creator>
      <dc:date>2013-11-13T15:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: file montoring on universal forwarder from splunk server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140462#M28806</link>
      <description>&lt;P&gt;Could you please post your inputs.conf file in the forwarder. (mostly splunkforwarder/etc/system/local, if not found here, check splunkforwarder/etc/system/default)&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 16:24:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140462#M28806</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-13T16:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: file montoring on universal forwarder from splunk server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140463#M28807</link>
      <description>&lt;P&gt;[root@splunkforwarder ~]# cat /usr/share/splunk_setup/splunkforwarder/etc/system/local/inputs.conf&lt;BR /&gt;
[default]&lt;BR /&gt;
host = splunkforwarder&lt;/P&gt;

&lt;P&gt;Default one is quite long one.So i will be sending it in parts.&lt;/P&gt;

&lt;P&gt;[root@splunkforwarder ~]# cat /usr/share/splunk_setup/splunkforwarder/etc/system/default/inputs.conf&lt;/P&gt;

&lt;P&gt;[default]&lt;BR /&gt;
index         = default&lt;BR /&gt;
_rcvbuf        = 1572864&lt;BR /&gt;
host = $decideOnStartup&lt;/P&gt;

&lt;P&gt;[monitor://$SPLUNK_HOME/var/log/splunk]&lt;BR /&gt;
index = _internal&lt;/P&gt;

&lt;P&gt;[monitor://$SPLUNK_HOME/etc/splunk.version]&lt;BR /&gt;
_TCP_ROUTING = *&lt;BR /&gt;
index = _internal&lt;BR /&gt;
sourcetype=splunk_version&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:16:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140463#M28807</guid>
      <dc:creator>lalit_mohan</dc:creator>
      <dc:date>2020-09-28T15:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: file montoring on universal forwarder from splunk server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140464#M28808</link>
      <description>&lt;P&gt;[batch://$SPLUNK_HOME/var/spool/splunk]&lt;BR /&gt;
move_policy = sinkhole&lt;BR /&gt;
crcSalt = &lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;[batch://$SPLUNK_HOME/var/spool/splunk/...stash_new]&lt;BR /&gt;
queue       = stashparsing&lt;BR /&gt;
sourcetype  = stash_new&lt;BR /&gt;
move_policy = sinkhole&lt;BR /&gt;
crcSalt     = &lt;SOURCE&gt;&lt;/SOURCE&gt;&lt;/P&gt;

&lt;P&gt;[fschange:$SPLUNK_HOME/etc]&lt;/P&gt;

&lt;H1&gt;poll every 10 minutes&lt;/H1&gt;

&lt;P&gt;pollPeriod = 600&lt;/P&gt;

&lt;H1&gt;generate audit events into the audit index, instead of fschange events&lt;/H1&gt;

&lt;P&gt;signedaudit=true&lt;BR /&gt;
recurse=true&lt;BR /&gt;
followLinks=false&lt;BR /&gt;
hashMaxSize=-1&lt;BR /&gt;
fullEvent=false&lt;BR /&gt;
sendEventMaxSize=-1&lt;BR /&gt;
filesPerDelay = 10&lt;BR /&gt;
delayInMills = 100&lt;/P&gt;

&lt;P&gt;[udp]&lt;BR /&gt;
connection_host=ip&lt;/P&gt;

&lt;P&gt;[tcp]&lt;BR /&gt;
acceptFrom=*&lt;BR /&gt;
connection_host=dns&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:16:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140464#M28808</guid>
      <dc:creator>lalit_mohan</dc:creator>
      <dc:date>2020-09-28T15:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: file montoring on universal forwarder from splunk server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140465#M28809</link>
      <description>&lt;P&gt;[splunktcp]&lt;BR /&gt;
route=has_key:_replicationBucketUUID:replicationQueue;has_key:_dstrx:typingQueue;has_key:_linebreaker:indexQueue;absent_key:_linebreaker:parsingQueue&lt;BR /&gt;
acceptFrom=*&lt;BR /&gt;
connection_host=ip&lt;/P&gt;

&lt;P&gt;[script]&lt;BR /&gt;
interval = 60.0&lt;BR /&gt;
start_by_shell = true&lt;/P&gt;

&lt;P&gt;[SSL]&lt;/P&gt;

&lt;H1&gt;default cipher suites that splunk allows. Change this if you wish to increase the security&lt;/H1&gt;

&lt;H1&gt;of SSL connections, or to lower it if you having trouble connecting to splunk.&lt;/H1&gt;

&lt;P&gt;cipherSuite = ALL:!aNULL:!eNULL:!LOW:!EXP:RC4+RSA:+HIGH:+MEDIUM&lt;BR /&gt;
allowSslRenegotiation = true&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:16:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140465#M28809</guid>
      <dc:creator>lalit_mohan</dc:creator>
      <dc:date>2020-09-28T15:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: file montoring on universal forwarder from splunk server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140466#M28810</link>
      <description>&lt;P&gt;I don't see any entry for your file, and may be that is the reason its not sending any data. (not sure why CLI command didn't work). Try adding following to your splunkforwarder\etc\system\local\inputs.conf, at the end &lt;/P&gt;

&lt;P&gt;[monitor://usr/share/apache-tomcat-7.0.42/logs/catalina.out]&lt;/P&gt;

&lt;P&gt;index = default&lt;/P&gt;

&lt;P&gt;sourcetype=log4j&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2013 19:18:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140466#M28810</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-11-13T19:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: file montoring on universal forwarder from splunk server</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140467#M28811</link>
      <description>&lt;P&gt;Hi somesoni2,&lt;/P&gt;

&lt;P&gt;Thanks for your kind support!!&lt;/P&gt;

&lt;P&gt;My problem is solved ,now I am able to monitor my splunkforwarder tomcat log file on splunk-server dashboard&lt;/P&gt;

&lt;P&gt;I added following lines:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;In ...splunkforwarder/etc/system/local/inputs.conf :&lt;/STRONG&gt;&lt;BR /&gt;
&lt;EM&gt;[monitor:///usr/share/apache-tomcat-7.0.42/logs/catalina.out]&lt;BR /&gt;
index = default&lt;BR /&gt;
sourcetype=log4j&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;In ...splunkforwarder/etc/system/local/outputs.conf :&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;forwardedindex.0.whitelist = .&lt;/EM&gt;&lt;BR /&gt;
forwardedindex.1.whitelist = _.&lt;BR /&gt;
[tcpout:default_index] server=splunkserver.cloudapp.net:9997     &lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 15:16:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/file-montoring-on-universal-forwarder-from-splunk-server/m-p/140467#M28811</guid>
      <dc:creator>lalit_mohan</dc:creator>
      <dc:date>2020-09-28T15:16:35Z</dc:date>
    </item>
  </channel>
</rss>

