BreakFix LabsCloud security trainingPricingBlog

Find where a web server stopped sending logs

If one web server disappears from a security dashboard, compare its raw event counts with the other servers over the same interval. Then check whether the web server is still writing access records locally. These two checks narrow the gap to the source, the collection path or the dashboard query.

Establish when the feed stopped

Illustrative scenario: the lab groups access events by host in one-hour buckets. The affected server contributes 1,184 events in the 02:00 bucket, seven in the 03:00 bucket and none in the 04:00 bucket. Its peers keep reporting. The seven records matter. A chart labelled 03:00 aggregates the hour. Open the underlying events to find the last timestamp you can account for.

Use an independent record, such as a load balancer log showing requests served by that host, to check whether traffic continued. If the local access log contains those requests, pick one identifiable event and look for it downstream.

Follow the event to the index

  1. Check which agent reads that file and where it sends the events. In Splunk Enterprise, the forwarder dashboard measures connections to indexers. A forwarder marked active may still have stopped reading one input. Splunk forwarder dashboard reference.
  2. On a systemd host, inspect the status of the unit that runs the forwarder. If it has already restarted, look up the journal for that unit over the missing interval. The status command describes its current or most recent invocation. systemctl manual.
  3. Check the specific path named in the error. In the illustrative case the agent reports that its queue path is unavailable. The disk report for that mount shows zero space available. Those two observations explain why forwarding stopped on this host while the index continued receiving data from its peers.

The missing web logs lab gives you the simulated volume chart, service output and disk report. Open each record before submitting a diagnosis.

Check the missing interval after recovery

A fresh access event in the index establishes that the current path works. Check whether older events arrived too. Compare an identifiable local request from the affected interval with its indexed copy. For any period you still can't account for, record the host, time range and other sources available to the investigation. Keep that interval visible in the handover even after the dashboard has returned to normal.

BreakFix Labs is independent and is not affiliated with, endorsed by, or sponsored by Splunk. Splunk is a trademark of Splunk LLC.

Sources

  1. Splunk Enterprise 9.4 Monitoring Console forwarder dashboards
  2. systemctl manual, status and unit history

Related courses

  • Blue Team Operations: Go from raw logs to a contained incident: triage, hunt, write Sigma rules that pass tests, and respond. Simulated SOC labs, about 4.5 hours.