<?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: Apache Web Server Load Balance Monitoring in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Apache-Web-Server-Load-Balance-Monitoring/m-p/291406#M166414</link>
    <description>&lt;P&gt;Hi kamaldsh, &lt;/P&gt;

&lt;P&gt;Assuming that the count of access.log events points to distribution of http traffic, and that you are monitoring the apache access.log across all the servers, &lt;/P&gt;

&lt;P&gt;Something this should work nicely:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| tstats count WHERE index=&amp;lt;yourApacheIndex&amp;gt; sourcetype=&amp;lt;yourApacheSourcetype&amp;gt; by host&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will count the number of apache access events by each webserver, assuming you have onboarded the data in a manner that ensures only your webservers are reporting this sourcetype in this index. &lt;/P&gt;

&lt;P&gt;Be sure to update with the proper index and sourcetype for your apache data. Check out the addon for apache web server if you haven't already! &lt;A href="https://splunkbase.splunk.com/app/3186/"&gt;https://splunkbase.splunk.com/app/3186/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;As a former SRE type, I would also want platform stats from the webservers, either from Splunk TA Nix or nmon, or collectd, or snmp, whatver can get you a trend of traffic to the web server nics and cpu/mem/disk trending. &lt;/P&gt;

&lt;P&gt;I would also want any load balancer stats regarding the pool and ditribution of traffic to it's members, etc. &lt;/P&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Wed, 16 Aug 2017 16:24:16 GMT</pubDate>
    <dc:creator>mattymo</dc:creator>
    <dc:date>2017-08-16T16:24:16Z</dc:date>
    <item>
      <title>Apache Web Server Load Balance Monitoring</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Apache-Web-Server-Load-Balance-Monitoring/m-p/291405#M166413</link>
      <description>&lt;P&gt;I have multiple web servers behind a load balancer. I am looking for a search query that can provide me a traffic distribution across the apache web servers and help in monitoring the equal distribution of load among web servers.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 14:42:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Apache-Web-Server-Load-Balance-Monitoring/m-p/291405#M166413</guid>
      <dc:creator>kamaldsh</dc:creator>
      <dc:date>2017-08-16T14:42:00Z</dc:date>
    </item>
    <item>
      <title>Re: Apache Web Server Load Balance Monitoring</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Apache-Web-Server-Load-Balance-Monitoring/m-p/291406#M166414</link>
      <description>&lt;P&gt;Hi kamaldsh, &lt;/P&gt;

&lt;P&gt;Assuming that the count of access.log events points to distribution of http traffic, and that you are monitoring the apache access.log across all the servers, &lt;/P&gt;

&lt;P&gt;Something this should work nicely:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| tstats count WHERE index=&amp;lt;yourApacheIndex&amp;gt; sourcetype=&amp;lt;yourApacheSourcetype&amp;gt; by host&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will count the number of apache access events by each webserver, assuming you have onboarded the data in a manner that ensures only your webservers are reporting this sourcetype in this index. &lt;/P&gt;

&lt;P&gt;Be sure to update with the proper index and sourcetype for your apache data. Check out the addon for apache web server if you haven't already! &lt;A href="https://splunkbase.splunk.com/app/3186/"&gt;https://splunkbase.splunk.com/app/3186/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;As a former SRE type, I would also want platform stats from the webservers, either from Splunk TA Nix or nmon, or collectd, or snmp, whatver can get you a trend of traffic to the web server nics and cpu/mem/disk trending. &lt;/P&gt;

&lt;P&gt;I would also want any load balancer stats regarding the pool and ditribution of traffic to it's members, etc. &lt;/P&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 16 Aug 2017 16:24:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Apache-Web-Server-Load-Balance-Monitoring/m-p/291406#M166414</guid>
      <dc:creator>mattymo</dc:creator>
      <dc:date>2017-08-16T16:24:16Z</dc:date>
    </item>
  </channel>
</rss>

