-
-
Notifications
You must be signed in to change notification settings - Fork 28
Example: GENESYS Logs
Lorenzo Mangani edited this page Aug 24, 2021
·
2 revisions
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.
- Experimental, Testers needed!
# npm install -g @pastash/pastash @pastash/filter_app_genesys
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
}
}
}
pastash --config_file=/path/to/pastash_genesys.conf