diff --git a/logstash/conf.d/10-input.conf b/logstash/conf.d/10-input.conf index 3fc28dd..f42a7b7 100644 --- a/logstash/conf.d/10-input.conf +++ b/logstash/conf.d/10-input.conf @@ -5,7 +5,7 @@ input { sincedb_path => "/dev/null" add_field => { "type" => "temperature" - "host.hostname" => "praguetopbox" + "host.hostname" => "%{HOSTNAME}" } } @@ -15,7 +15,7 @@ input { sincedb_path => "/dev/null" add_field => { "type" => "power" - "host.hostname" => "praguetopbox" + "host.hostname" => "%{HOSTNAME}" } } @@ -25,7 +25,7 @@ input { sincedb_path => "/dev/null" add_field => { "type" => "disk" - "host.hostname" => "praguetopbox" + "host.hostname" => "%{HOSTNAME}" } } } \ No newline at end of file