Log Dashboard With Filtering
Log Dashboard For Loki
Log Dashboard For Loki A high-visibility, professional-grade dashboard for monitoring system logs via Loki and Promtail. This dashboard provides an "at-a-glance" health check of your logging pipeline while offering deep-dive snapshots into specific log levels.
🚀 Key Features Real-time Throughput: Monitor the velocity of incoming logs in lines-per-second. Total Volume Tracking: Keep track of your historical log count for auditing and storage planning. Intelligent Status Counters: Color-coded stat panels for Info (Blue), Warning (Orange), and Critical/Error (Red) states. "Last 5" Snapshots: Dedicated rows that show only the 5 most recent events for each category letting you find problems instantly without searching. Activity by Source: Visual bar chart showing which files (e.g., auth.log, syslog, kern.log) are generating the most data. Full Live Stream: A raw, scrollable log viewer at the bottom for final-stage debugging.
🛠 Prerequisites & Data Collection This dashboard is designed to work with Loki as the data source. For the panels to populate correctly, your Promtail configuration must label your logs with job="varlogs".
🔑 Troubleshooting: Permission Denied If you notice some logs not captured in your Promtail, it is likely because the promtail user doesn't have rights to read the files in /var/log.
Fix: Add the promtail user to the adm or any other groups ( that own the log files) by running:
Example sudo usermod -a -G adm promtail
📊 How to Use Import: Enter the Dashboard ID or upload the JSON file. Select Datasource: Choose your Loki instance when prompted. Filter: Use the time picker at the top right to switch between live monitoring (Last 5 minutes) or historical auditing (Last 7 days).
🏷 Categories & Tags Category: Loki, Operations, Linux
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
| Revision | Description | Created | |
|---|---|---|---|
| Download |