Example: GENESYS Logs - sipcapture/paStash GitHub Wiki
GENESYS Logs
This example recipe will convert Genesys Application logs to SIP/HEP-JSON format, shipped to a HEP Capture Server via output_hep module, and designed for cases where encrypted communication is unavailable off-the-wire.
Status
- Experimental, Testers needed!
Installation
# npm install -g @pastash/pastash @pastash/filter_app_genesys
Recipe
input {
file {
path => "/path/to/genesys.log"
}
}
filter {
multiline {
start_line_regex => /^(\@?)(\d{2}:\d{2}:\d{2}.\d{1,5})/
}
omit {
blacklist => ['@timestamp','@version','path','host']
}
app_genesys {}
}
output {
if [rcinfo] != 'undefined' {
hep {
host => '127.0.0.1'
port => 9060
hep_id => 2222
}
}
}
Usage
pastash --config_file=/path/to/pastash_genesys.conf