skupperproject / skupper-router

An application-layer router for Skupper networks
https://skupper.io
Apache License 2.0
14 stars 18 forks source link

Create PyCharm / IntelliJ log highlighting configuration #89

Open jiridanek opened 2 years ago

jiridanek commented 2 years ago

Besides these IDEs, or whatever IDE people use that supports the advanced log viewing features, defining these patterns might also make sense for log exporters or log collectors for production deployments.

image

jiridanek commented 2 years ago

The IntelliJ plugin looks somewhat abandoned, nevertheless, a working config is

qdrouterd
^([^ ]+ [^ ]+ [^ ]+) ([^ ]+) \(([^ ]+)\) (.*)$
^\d
yyyy-MM-DD HH:mm:ss SSSS
1
3
2

image

jiridanek commented 2 years ago

For Logstash, the log ingesting is done using plugins https://www.elastic.co/guide/en/logstash/8.0/plugins-filters-grok.html and https://www.elastic.co/guide/en/logstash/8.0/plugins-filters-dissect.html

https://www.elastic.co/guide/en/kibana/8.0/xpack-grokdebugger.html

jiridanek commented 2 years ago

What is the approach to dealing with router logs when it is running with skupper, that should be encouraged and supported with e.g. a premade log highlighting configuration, which is the subject of this issue?