My name is samir and I am a trainee in a company in France. I have a project that aims to establish the ELK suite on the different logs produced by Genesys (URS, Tserver …).
I wanted to know if you could help me because I have some difficulties.
Has anyone ever done this kind of project ? Please Tell me.
As you have seen I work in mutiline. (Multiple lines in one document).
My goal is to extract only lines containing “#####”.
I tried with the following filter : match => {“message” => “(?(?:^|\n).#####.(?:^\n|$))”}
But logstash sends me the whole document while I want only the line.
I succeeded. Thank you very much.
I have just a last question, in the URS log, The structure is as follows :
10:00:17.307 Int 22000 ##### EI_COF_RCCAuto_v7 - 00f7029cddc0cf9f - RCCAUTO-0614304044- MAJ CFA suite 10:00:17.307_I_I_00f7029cddc0cf9f [07:48] func will be continued(0,0000000030c000c6) 10:00:17.307_M_I_00f7029cddc0cf9f [17:11] VQ 000000000478eca0 first available call: none, reason=(0)strategy 10:00:17.307_I_I_00f7029cddc0cf9f [09:04] <<<<<<<<<<<<suspend interp(JUMPING), func:CallStrategy timers:00001
For each document I would like to extract the time and put it in a timestamp variable.
Can you help me ?
Yes I did this,
This sends me the time in a timestamp variable but I want it to send it into the @timestamp logstash. I did this but it does not work :
filter {
grok {
match => { “message” => “^%{TIME:timestamp}”}
}
date {
match => [ “timestamp”, “HH:mm:ss.SSS”]
target => “@timestamp”}
If the log spans multiple days then that date will not be valid anyway.
It doesn’t look like anyone is using Logstash with their Genesys logs on this forum, it might be best contacting Logstash to see if they can offer any help, but keep us informed if you find out how to do it.
Peter, if you happen to work for Genesys please let the engineers know that we would love to see native application logging support to the Elastic stack. I’ve been using ORS’s capabilities for quite some time now and both for development or operational use has proven to be invaluable.