
Hits are only half the story when it comes to analyzing web server traffic. In either case, the idea is to keep tabs on key performance indicators with Sumo Logic’s monitoring capabilities, then dig deeper with ad-hoc queries when something needs attention.
#Sumo logic sum count timeslice professional#
Dashboards are automatically updated in real time, so you’ll always know exactly what’s going on in your Apache infrastructure.Īlternatively, if you have a Sumo Logic Professional account, you can set up a real-time alert to receive an email when hits pass a certain threshold.

You can save this chart into a dashboard by clicking the Create Panel button in the Aggregatestab. This gives you a much clearer view of traffic spikes. You can visualize this information by clicking the Line Chart button in the Aggregates tab. Running this query returns a table counting the number of hits every 5 minutes. The _timeslice operator groups log messages into 5-minute intervals. This lets us limit the scope of queries to either access logs, error logs, or custom log files that you’ve configured in nf. Sumo Logic adds a _sourceCategory metadata field to logs as it collects them. _sourceCategory =Apache/Access | timeslice 1m | count as hits by _timeslice Let’s start by getting a high-level look at how much content you’re serving: Analyzing Apache traffic metrics with Sumo Logic Total Traffic by Hits For example, comparing traffic to request URL identifies your most popular content, while visualizing hits and volume against referrer URL helps you pinpoint hotlinked media resources.
