Visualizing data using Logstash and Elasticsearch.
Software engineering, testing methods, build workflows and deployment mechanisms.
Threat mitigation, systems monitoring, traffic visualization and troubleshooting.
Systems design, server and container management and scaling .
Automating Nagios Configurations
Using Consul and Consul-Template.
When shipping Nginx Access logs to Logstash, I recommend formatting the log lines in JSON straight out of Nginx. This speeds up filtering in Logstash later. It does come with two caveats though; Nginx escapes many characters that may appear
Consul and Consul-Template are two powerful tools for updating server files and executing a command after the file has been updated. This makes it a great and lightweight tool for managing configuration files for applications that need to reload or restart after
This one-liner traverses a directory tree, reads the files and PUTs them into Consul Key/Value Store using the filename as the key and it’s contents as the value.
for i in $(find . -type f | sed 's/\.\///g'); do echo; echo $i; curl -H "Content-Type: application/json" -XPUT --data "@$i" "http://localhost:8500/v1/kv/$i"; done;