The debug output in my dev system looks like the following:
LS 5.2.0:
"[logstash][processing][filterEnd]":2018-03-02T08:25:29.385Z,"[logstash][processing][filterTime]":"25","[logstash][times][ruby][completeScript]":1,"[logstash][times][ruby][processFetchedCountAndTime]":0,"[logstash][times][ruby][processInterval]":0,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":0,"[logstash][times][ruby][processLWVD_DATA_CODE]":0","message":1129728318 1012584202 1x1a322102 1x1 1x303 1x1 02.12.2017 23:00:35 de_de - -----SYSTEMAUTH: Login with UNKNOWN-VIA-SOAP 31.12.9999, GID: 6, UID: 1445, Tuxedo-User: 1012584202, Actual user count: x (1129728318, 11)
}
{"[logstash][processing][filterEnd]":2018-03-02T08:25:29.389Z,"[logstash][processing][filterTime]":"4","[logstash][times][ruby][completeScript]":1,"[logstash][times][ruby][processFetchedCountAndTime]":0,"[logstash][times][ruby][processInterval]":1,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":0,"[logstash][times][ruby][processLWVD_DATA_CODE]":0","message":113404088 1964218408 1x1a3376e0 1x1 1x36b 1x1 02.12.2017 23:00:56 de_de - 0.0 RD_DTCO_LIST: XSQL-Filter: '( RD_IS_ARCHIVED = FALSE)', [NO SORT], #0...#9 (PageSize: 10), , Fetched: 0, 0 ms
}
{"[logstash][processing][filterEnd]":2018-03-02T08:25:29.393Z,"[logstash][processing][filterTime]":"3","[logstash][times][ruby][completeScript]":2,"[logstash][times][ruby][processFetchedCountAndTime]":1,"[logstash][times][ruby][processInterval]":0,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":1,"[logstash][times][ruby][processLWVD_DATA_CODE]":0","message":113404088 1964218408 1x1a3376e0 1x1 1x36b 1x1 02.12.2017 23:00:56 de_de - 0.0 RD_DTCO_LIST: XSQL-Filter: '( RD_IS_ARCHIVED = FALSE)', [NO SORT], #0...#9 (PageSize: 10), , Fetched: 0, 16 ms
}
{"[logstash][processing][filterEnd]":2018-03-02T08:25:29.412Z,"[logstash][processing][filterTime]":"18","[logstash][times][ruby][completeScript]":10,"[logstash][times][ruby][processFetchedCountAndTime]":0,"[logstash][times][ruby][processInterval]":0,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":0,"[logstash][times][ruby][processLWVD_DATA_CODE]":0","message":1155076378 1671413991 1x1a3221b0 1x1 1x22d 1x1 02.12.2017 23:01:13 de_de - 0.0 DB_TMLIST: *FAST MODE*, [SHARE USER IS OUTSIDE START/END TIMES OR SERVICE CALLED IN FAST MODE - EMPTY LIST] [NO FILTER], [NO SORT], 0...END (PageSize: INFINITE), , Fetched: 0, 0 ms, **NO VEHICLES**, *OK*
}
{"[logstash][processing][filterEnd]":2018-03-02T08:25:29.444Z,"[logstash][processing][filterTime]":"17","[logstash][times][ruby][completeScript]":2,"[logstash][times][ruby][processFetchedCountAndTime]":1,"[logstash][times][ruby][processInterval]":0,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":0,"[logstash][times][ruby][processLWVD_DATA_CODE]":-1","message":1155076378 1671413991 1x1a3221b0 1x1 1x22d 1x1 02.12.2017 23:01:13 de_de - 0.0 DB_TMLIST: XSQL-Filter: 'EMPTY', [NO SORT], 0...END (PageSize: INFINITE), , Fetched: 4, 16 ms, <empty shares>, *OK*
}
{"[logstash][processing][filterEnd]":2018-03-02T08:25:29.449Z,"[logstash][processing][filterTime]":"4","[logstash][times][ruby][completeScript]":2,"[logstash][times][ruby][processFetchedCountAndTime]":1,"[logstash][times][ruby][processInterval]":0,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":0,"[logstash][times][ruby][processLWVD_DATA_CODE]":0","message":1155076378 1671413991 1x1a3221b0 1x1 1x22d 1x1 02.12.2017 23:01:13 de_de - 0.0 GETUSERPROFILE: UID=xxx, Version-String: <<S API 3.2.0 19.06.2012>> (ok), Version-Date: 2012.06.19, info-text: "xxx.xxx.xxx.xxx via soaps://www.url.de/rpcrouter2.2/soap [SOAP-API 3.9.2]", DTI_ID=xxx, Sees: Vehicles Map Banner Logbook_Preliminary Customer_Share_User, OK.
}
{"[logstash][processing][filterEnd]":2018-03-02T08:25:29.452Z,"[logstash][processing][filterTime]":"3","[logstash][times][ruby][completeScript]":2,"[logstash][times][ruby][processFetchedCountAndTime]":0,"[logstash][times][ruby][processInterval]":0,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":1,"[logstash][times][ruby][processLWVD_DATA_CODE]":0","message":1155076378 1671413991 1x1a3221b0 1x1 1x22d 1x1 02.12.2017 23:01:13 de_de - -----SYSTEMAUTH: Login with S API 3.2.0 19.06.2012, GID: 6, UID: 953, Tuxedo-User: 1671413991, Actual user count: x (1155076378, 6)
}
{"[logstash][processing][filterEnd]":2018-03-02T08:25:29.456Z,"[logstash][processing][filterTime]":"3","[logstash][times][ruby][completeScript]":2,"[logstash][times][ruby][processFetchedCountAndTime]":1,"[logstash][times][ruby][processInterval]":0,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":0,"[logstash][times][ruby][processLWVD_DATA_CODE]":0","message":1172692764 3762519376 1x1a36f6c1 1x1 1x23f 1x1 02.12.2017 23:00:15 de_de - 0.0 RD_DTCO_LIST: XSQL-Filter: '( RD_IS_ARCHIVED = FALSE)', [NO SORT], #0...#9 (PageSize: 10), , Fetched: 0, 0 ms
}
{"[logstash][processing][filterEnd]":2018-03-02T08:25:29.460Z,"[logstash][processing][filterTime]":"3","[logstash][times][ruby][completeScript]":2,"[logstash][times][ruby][processFetchedCountAndTime]":1,"[logstash][times][ruby][processInterval]":0,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":1,"[logstash][times][ruby][processLWVD_DATA_CODE]":0","message":1172692764 3762519376 1x1a36f6c1 1x1 1x23f 1x1 02.12.2017 23:00:15 de_de - 0.0 RD_DTCO_LIST: XSQL-Filter: '( RD_IS_ARCHIVED = FALSE)', [NO SORT], #0...#9 (PageSize: 10), , Fetched: 0, 16 ms
}
{"[logstash][processing][filterEnd]":2018-03-02T08:25:29.464Z,"[logstash][processing][filterTime]":"3","[logstash][times][ruby][completeScript]":2,"[logstash][times][ruby][processFetchedCountAndTime]":1,"[logstash][times][ruby][processInterval]":0,"[logstash][times][ruby][processTM_IDs]":0,"[logstash][times][ruby][processLWDR_IDs]":0,"[logstash][times][ruby][processLWVD_DATA_CODE]":-1","message":1222306988 789323931 1x1a3221ad 1x1 1x210 1x1 02.12.2017 23:01:01 de_de - 0.1 DB_TMLIST: XSQL-Filter: 'TM_DTI_ID IN (xxx)', [NO SORT], #0...#199 (PageSize: 200), , Fetched: 0, 62 ms, **NO VEHICLES**, *OK*
}
so we can see, that the processing of the logLine in the pipeline takes about something between 3 and 25 ms. the ruby script [logstash][times][ruby][completeScript] takes between 2 and 10 ms.
The node statistics of logstash are showing this:
https://pastebin.com/VZtppawN
so ruby script says:
{
"id": "useractionlog:ruby:1",
"events": {
"duration_in_millis": 3244,
"in": 2000,
"out": 2000
},
"name": "ruby"
},