You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: contrib/logstash/README.rst
+12-2
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
Alignak Logstash
3
3
================
4
4
5
-
Alignak monitoring log is easily parsable thanks to logstash to store all the monitoring events into an Elasticsearch database. Logstash is a powerful and easy to use log parser... and Kibana alllows to easily build dashboards from the data collected ;)
5
+
Alignak monitoring events log is easily parsable thanks to logstash to store all the monitoring events into an Elasticsearch database or any other...). Logstash is a powerful and easy to use log parser... and Kibana allows to easily build dashboards from the data collected ;)
6
6
7
7
8
8
Installation
@@ -15,12 +15,21 @@ A `logstash.conf` example file is available in the same directory as this doc fi
15
15
Configuration
16
16
-------------
17
17
18
-
Copy the `logstash.conf` in the logstash configuration directory (eg. */usr/local/etc/logstash*) and copy the *patterns* directory of this repository in the same place.
18
+
Copy the `logstash.conf` in the logstash configuration directory (eg. */etc/logstash*) and copy the *patterns* directory of this repository in the same place.
19
19
20
20
Update the `logstash.conf` according to your configuration. Some important updates:
21
21
- the date inserted in each log is formatted according to the logger configuration. Often it is an ISO date yyyy-mm-dd hh:mm:ss but you may have set this date as a unix timestamp. Update the patterns and the `logstash.conf` accordingly
22
22
- the elasticsearch URL must be updated to connect your own ES cluster
23
23
24
+
Using an output plugin for MongoDB allows to get Alignak events log in a MongoDB collection::
@@ -37,3 +46,4 @@ The logstash parser is able to analyse the Alignak daemons log files. Extracted
37
46
Monitoring log
38
47
~~~~~~~~~~~~~~
39
48
49
+
All the monitoring events are extracted from the monitoring events log and pushed to the output plugins defined in the logstash.conf file: elasticsearch and / or mongodb. Default is to push to elasticsearch; you can uncomment to push the parsed log to a Mongo database.
0 commit comments