JSON-Log Parsing With stern and jq
In many projects we use JSON as log format since it inheritly bears structure and thus is easy to process by log-aggregators (i.e. AWS CloudWatch autom. discovers fields from json just like fluentd). ...
In many projects we use JSON as log format since it inheritly bears structure and thus is easy to process by log-aggregators (i.e. AWS CloudWatch autom. discovers fields from json just like fluentd). ...
Inspired by a nice tutorial on Baeldung I’ve decided to write done some usual suspects when working with jq. Hence, this is more like a cheatsheet than a regular post. ...
The other day, I had the need to look closer into the network communication of a (dockerized) JEE application. My usual tcpdump approach wasn’t applicable though because the traffic was TLS-encrypted.Finally, I ended up with a setup where the app used a man-in-the-middle proxy for all its communication - that proxy transparently re-encrypted the traffic which gave me the chance to inspect every single message exchanged. ...
When debugging network related issues the CLI tool tcpdump is a valuable assistant. I usually use a variation of this base command: sudo tcpdump -A -i lo0 -n -s0 -v port 8080...
When dealing with Kubernetes secrets or when testing REST-services using i.e. curl it’s nice to have a fast’n’easy way of de- and encoding characters using base64. ...
Dealing with SSH-connections can become cumbersome quickly especially when configurations change frequently, too. Luckily, you can pre-configure most of a connections settings in a user specific config-file located in your ~/.ssh-folder called config. ...