My Profile Photo

Matthew Hodgkins Blog


System Engineer. PowerShell, Splunk, Monitoring, Metrics, Automation lover. Aussie living and working in the Netherlands.


  1. Splunk Spotlight - Alerts

    Once you have your data in Splunk, you often come across situations when you would like to be notified when something happens (or doesn’t). This is where Splunk alerts come in, where we can get alerts based on search results. Getting Splunk setup Getting test data Enable a TCP port Running a data generator script Alerting basics Cron scheduling Example 1 - Sending a webhook Example 2 - Alerting to Slack Example 3 - Alerting...…


  2. Splunk Spotlight - The Lookup Command

    Splunk is an amazing logging aggregation and searching tool. Even though I’ve been using it a few months now, I feel like I am just scratching the surface of what it can do. My company recently switch over from the ELK stack (ElasticSearch, LogStash and Kibana) as we were moving to the cloud, with a focus on using managed services. The ELK stack is awesome, but it can be a pain to administer and extend....…


  3. ChatOps with PowerShell and Errbot

    Have you written automation scripts using PowerShell before, but find it hard getting your end users or your support people to use them? Let’s solve this with ChatOps. We will have a quick introduction to ChatOps and then dive into installing a Errbot (a chat bot) on Windows. After learning the basics of Errbot, we will run through some code examples so you can easily bring your scripts to users through chat. Finally we will...…


  4. Automating DataDog with Terraform

    DataDog is an awesome SaaS monitoring platform. We have 100+ developers leveraging the platform to collect their metrics, create dashboards and send alerts. As with anything, if you don’t maintain and clean your tools, after a while things can become a little messy. Dashboards start to get named wildly different things with no standards. Alerts aren’t deleted for decommissioned services. Team names change and alerts are suddenly pointing to a the wrong Slack channel. Something...…


  5. Testing Ansible Roles Against Windows with Test-Kitchen

    During the development of automation for your infrastructure, you will find yourself doing the same types of processes over and over: Creating virtual machines to run your code against Copy the automation code to the instance Running the automation code against your instance Performing tests against your instance These “overhead” process can take a considerable amount of time that you could be spending writing code. How do we fix this? Improving our automation development workflow...…