Files
ServerManagementUtils/logstash/10-input.conf
T
2025-06-28 14:28:48 +02:00

31 lines
648 B
Plaintext

input {
file {
path => "/var/log/temperature.log"
start_position => "beginning"
sincedb_path => "/dev/null"
add_field => {
"type" => "temperature"
"host.hostname" => "praguetopbox"
}
}
file {
path => "/var/log/power_usage.log"
start_position => "beginning"
sincedb_path => "/dev/null"
add_field => {
"type" => "power"
"host.hostname" => "praguetopbox"
}
}
file {
path => "/var/log/disk_usage.log"
start_position => "beginning"
sincedb_path => "/dev/null"
add_field => {
"type" => "disk"
"host.hostname" => "praguetopbox"
}
}
}