Skip to content

Example:SESM Logs

Lorenzo Mangani edited this page Jun 17, 2020 · 2 revisions

Ribbon/Genband Session Manager (SESM) Logs to Timeseries

This example recipe will parse/reassemble SESM Logs into tagged InfluxDB Timeseries.

Setup

npm install -g @pastash/pastash @pastash/filter_app_sesm

paStash Recipe

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!

Usage

pastash --config_file=/opt/pastash_sesm.config
Clone this wiki locally