Logging
We are using a part of the ELK stack for accessing our application logs. To be precise we’re using Filebeat to ship the logs from our Kubernetes nodes to Elasticsearch. And Kibana to visualize the logs in Elasticsearch.
So the marked parts are those we are using from the ELK stack:

How to access your application logs?
To access your Logs via Kibana, you have to be connected with the TH Köln VPN.
Therefore please have a look at this reference: https://www.th-koeln.de/mam/downloads/deutsch/hochschule/organisation/vpn-settingup.pdf
Discover
Kibana is available at this URL: http://kibana.dungeon-space.de/
If you aren’t connected with the VPN you will get an 403 Forbidden
error by nginx.
If your are connected and open Kibana, the first thing you should do to access your logs,
is to navigate to the Discover
view.
Documents
Now you can experiment a lot to get the perfect view on the logs you want to see. In the center you see the log documents, with all the metadata of Kubernetes & Filebeat. A document is nothing else than a JSON object.
Time range
On the top right you can set the range of time.
Search
With the search bar you can filter for specific fields. Of course you can combine your queries with logical operators. Feel free to experiment.
Filter
To only show fields that are relevant for you, you can filter them too:
So have fun while analyzing your logs!
Stream
If you want to stream your logs live, you can use the Observability -> Stream view: