Core for Docker Desktop
Search…
⌃K
Links

Automated Logging

Calyptia Core can automate data collection from your Pods, enrich it with Kubernetes metadata, and allow you to create processing rules that transform the data before it is delivered to its destination.

Test your automated logging

Once the automated logging feature is enabled, all the Logs from your Pods will be processed. As a simple test of this feature, we will deploy a Pod that emulates the generation of logs coming from a fake NGINX Ingress service. To get started, run the following command from your terminal to install the application:
kubectl create -f https://raw.githubusercontent.com/calyptia/nginx-ingress-logs/main/nginx-ingress-logs.yaml
From the terminal, you can check the logs being generated by the Pod with the following command:
kubectl logs calyptia-nginx-ingress-logs -f
You will see dozens of lines similar to this:
...
104.197.7.55 - - [13/Nov/2022: 0:46:10 +0000] "POST /hebetation HTTP/1.1" 200 34152 "-" "Go-http-client/1.1" 308 7.234 [redacted-http] [] 204.65.83.65:8080 34152 7.232 200
127.100.1.14 - - [13/Nov/2022: 0:46:10 +0000] "POST /ISY HTTP/1.1" 200 34152 "-" "Go-http-client/1.1" 308 7.234 [redacted-http] [] 121.104.45.98:8080 34152 7.232 200
216.228.201.220 - - [13/Nov/2022: 0:46:10 +0000] "POST /complexest HTTP/1.1" 400 34152 "-" "Go-http-client/1.1" 308 7.234 [redacted-http] [] 90.17.0.208:8080 34152 7.232 200
...