mirror of
https://github.com/AlexMacocian/ServerManagementUtils.git
synced 2026-07-15 15:19:58 +00:00
Make logstash auto-determine host name
This commit is contained in:
@@ -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}"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user