Commit ac3218b6 authored by William Tucker's avatar William Tucker
Browse files

Corrected bug in Ansible logstash conf

parent 5f3d4598
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -60,7 +60,7 @@ filter {
    }
    mutate {
        # Replace the host with the specified external hostname
        replace => { "host" => "${EXTERNAL_HOSTNAME}" }
        replace => { "host" => "{{ hostname }}" }
        # Move the country code to the top-level
        add_field => { "country_code" => "%{[geoip][country_code2]}" }
        # Construct a new message string