-
-
Notifications
You must be signed in to change notification settings - Fork 28
Example:SESM Logs
Lorenzo Mangani edited this page Jun 17, 2020
·
2 revisions
This example recipe will parse/reassemble SESM Logs into tagged InfluxDB Timeseries.
npm install -g @pastash/pastash @pastash/filter_app_sesm
Create a configuration file in /opt/pastash_sesm.config
and add your log and InfluxDB details:
input {
file {
path => "/tmp/sesm.log"
start_index => 0
}
}
filter {
app_sesm {}
}
output {
http_post {
host => localhost
port => 8086
path => "/write?db=sesm"
}
}
NOTE: The sesm
database should be created upfront!
pastash --config_file=/opt/pastash_sesm.config