-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
issue: 4040970: [UFM Events Grafana Dashboard Plugin] Improve the log…
…s parsing regex to handle the anomalous events. (#269)
- Loading branch information
1 parent
0f56a2c
commit 1287d38
Showing
8 changed files
with
1,583 additions
and
691 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# UFM Events Grafana Dashboard Plugin | ||
|
||
## Overview | ||
This plugin monitors and parses UFM events from the `event.log` file using Fluentd. It pushes the logs to a Loki server and visualizes them through Grafana dashboards. | ||
|
||
## Installation | ||
1. **Install Plugin** on UFM. | ||
2. **Access Grafana Dashboard** at: `http://<IP>:3002` (default credentials: `admin/admin`). | ||
|
||
## Components | ||
- **Fluentd**: Parses `event.log` file, extracts relevant fields, and pushes logs to Loki. | ||
- **Loki**: Aggregates and stores logs. | ||
- **Grafana**: Visualizes logs with predefined panels (e.g., Events Stats, Topology Changes, Hardware Events). | ||
|
||
## Configuration Files | ||
- Fluentd: `/opt/ufm/files/conf/plugins/ufm_events_grafana_dashboard/fluentd/fluentd.conf` | ||
- Loki: `/opt/ufm/files/conf/plugins/ufm_events_grafana_dashboard/loki/loki-local-config.yaml` | ||
- Grafana: `/opt/ufm/files/conf/plugins/ufm_events_grafana_dashboard/grafana/grafana.ini` | ||
|
||
## Logs | ||
Plugin logs are stored in `/opt/ufm/files/log/plugins/ufm_events_grafana_dashboard/`. | ||
|
||
## Usage | ||
Navigate to Grafana -> Dashboards -> UFM Events to view predefined panels or create custom queries under the Explore section. | ||
|
||
![Dashboard Screenshot](./grafana_dashboard.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.