<?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 for apachelogs monitoring in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481772#M59228</link>
    <description>&lt;P&gt;I have installed add on for apache log and configured it on splunk web also the inputs.conf on the universal forwarder. but the logs are not getting forwarded. can anyone help &lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2019 10:57:12 GMT</pubDate>
    <dc:creator>chaga</dc:creator>
    <dc:date>2019-11-11T10:57:12Z</dc:date>
    <item>
      <title>SPLunk for apachelogs monitoring</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481771#M59227</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;

&lt;P&gt;Could anyone please let me know how to install splunk add on for apache webserver and configure step by step apache logs for monitoring?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 09:19:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481771#M59227</guid>
      <dc:creator>chaga</dc:creator>
      <dc:date>2019-11-11T09:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: SPLunk for apachelogs monitoring</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481772#M59228</link>
      <description>&lt;P&gt;I have installed add on for apache log and configured it on splunk web also the inputs.conf on the universal forwarder. but the logs are not getting forwarded. can anyone help &lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 10:57:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481772#M59228</guid>
      <dc:creator>chaga</dc:creator>
      <dc:date>2019-11-11T10:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: SPLunk for apachelogs monitoring</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481773#M59229</link>
      <description>&lt;P&gt;Have you enabled Receiving on your indexer(s)?  Have you configured the UF to send logs to the indexer(s)?&lt;BR /&gt;
Do you see logs from the UF in &lt;CODE&gt;index=_internal&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 13:20:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481773#M59229</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-11-11T13:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: SPLunk for apachelogs monitoring</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481774#M59230</link>
      <description>&lt;P&gt;Hi @chaga,&lt;/P&gt;

&lt;P&gt;At first you should check if you're receiving logs from that server running the search&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal host=&amp;lt;your_host&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you have'n logs there's no connection between UF and Indexer, if instead you have logs there's a problem in Add-on settings.&lt;/P&gt;

&lt;P&gt;In the first case, check the connection using telnet from the terget server:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;telnet Indexer_IP 9997
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if it isn't ok you have to check the firewall routes between target and Indexer, if it's ok, check if in outputs.con you have the correct Indexer ip address.&lt;/P&gt;

&lt;P&gt;If instead you are receiving internal logs but not apache logs, check at first the permissions on these files (what's the user owner of splunkd process?)&lt;BR /&gt;
Then how do you installed Add-on on target server?&lt;BR /&gt;
did you restarted Universal Forwarder after copying and untarring Add-on?&lt;/P&gt;

&lt;P&gt;Then see in input.con of the Add-on if in all the stanzas there's disable=0&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 13:23:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481774#M59230</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-11T13:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: SPLunk for apachelogs monitoring</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481775#M59231</link>
      <description>&lt;P&gt;Am so confused, Indexer is the one which you give while adding the path to monitor right. for ex:&lt;BR /&gt;
./splunk add monitor /var/log/apache2/access.log -index apache -sourcetype access_log&lt;/P&gt;

&lt;P&gt;what is called indexer? should we configure indexer as separate server? &lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 08:59:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481775#M59231</guid>
      <dc:creator>chaga</dc:creator>
      <dc:date>2019-11-12T08:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: SPLunk for apachelogs monitoring</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481776#M59232</link>
      <description>&lt;P&gt;Sorry, I'll try to be more clear:&lt;BR /&gt;
you spoke of a Universal Forwarder, that's on the target server to monitor.&lt;BR /&gt;
it should send logs to a Splunk server (called Indexer) that should be on a separate server and contains all the logs and search on them; I think (if I'm wrong, please correct me!) you have a single Splunk stand-alone server and not a distributed architecture is it correct?&lt;BR /&gt;
So if you have a stand-alone server Indexer is your stand-alone server.&lt;/P&gt;

&lt;P&gt;At first you have to check if your Splunk server receives logs from the Universal forwarder, to do this  run a search on Splunk:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal host=&amp;lt;your_host&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if you haven't logs, you have to perform some checks:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;do you enabled receiving on Splunk server ? [Settings -- Forwarding and Receiving -- Configure Receiving -- New Receiving Port]&lt;/LI&gt;
&lt;LI&gt;are firewall routes between Universal Forwarder and Splunk server open? &lt;CODE&gt;telnet ip_splunk_server 9997&lt;/CODE&gt;&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;if it isn't ok you have to check the firewall routes between target and Indexer on port 9997, if it's ok, check if in &lt;CODE&gt;$SPLUNK_HOME/etc/system/local/outputs.conf&lt;/CODE&gt; of Universal Forwarder you have the correct Splunk server ip address.&lt;/P&gt;

&lt;P&gt;If instead you are receiving internal logs but not apache logs, check at first the permissions on these files (what's the user owner of splunkd process on UF?)&lt;BR /&gt;
Then how do you installed Add-on on UF, which user you used? has the grants to read files?&lt;BR /&gt;
at the end did you restarted Universal Forwarder after copying and untarring Add-on?&lt;/P&gt;

&lt;P&gt;Then see in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/splunk-apache-addon/local/input.conf&lt;/CODE&gt; or &lt;CODE&gt;$SPLUNK_HOME/etc/apps/splunk-apache-addon/default/input.conf&lt;/CODE&gt; of the Add-on if in all the stanzas there's disable=0&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 09:30:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481776#M59232</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-11-12T09:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: SPLunk for apachelogs monitoring</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481777#M59233</link>
      <description>&lt;P&gt;Thanks for the clear explanation. &lt;BR /&gt;
Yes you are right i have a splunk stand-alone server. when i search using  index=_internal host= it doesnot show host. &lt;/P&gt;

&lt;P&gt;I guess telnet is the problem telnet doesnot work from the target server. I have added a firewall rule on Splunk server and forward server but still it doesnot work. Any idea on this?&lt;/P&gt;

&lt;P&gt;iptables -A INPUT -p tcp -m tcp --dport 9997 -j ACCEPT&lt;/P&gt;

&lt;P&gt;But when i run /opt/splunkforwarder/bin/splunk list monitor, it shows&lt;BR /&gt;
Monitored Files:&lt;BR /&gt;
        $SPLUNK_HOME/etc/splunk.version&lt;BR /&gt;
        /var/log/apache2/access.log&lt;BR /&gt;
        /var/log/apache2/error.log&lt;BR /&gt;
        var/log/apache2&lt;/P&gt;

&lt;P&gt;I am not sure whats the problem&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2019 15:14:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481777#M59233</guid>
      <dc:creator>chaga</dc:creator>
      <dc:date>2019-11-20T15:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: SPLunk for apachelogs monitoring</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481778#M59234</link>
      <description>&lt;P&gt;Can anyone tell me which ports should listen on Splunk server and on the Target server (Client)&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2019 08:49:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/SPLunk-for-apachelogs-monitoring/m-p/481778#M59234</guid>
      <dc:creator>chaga</dc:creator>
      <dc:date>2019-11-27T08:49:34Z</dc:date>
    </item>
  </channel>
</rss>

