mirror of
https://github.com/AlexMacocian/ServerManagementUtils.git
synced 2026-07-15 15:19:58 +00:00
12 lines
315 B
Plaintext
12 lines
315 B
Plaintext
output {
|
|
# Forward logs to Elasticsearch
|
|
elasticsearch {
|
|
hosts => ["http://localhost:9200"]
|
|
index => "replace-index" # Index pattern based on log type and date
|
|
user => "replace-user"
|
|
password => "replace-password"
|
|
}
|
|
if "_grokparsefailure" in [tags] {
|
|
stdout { codec => rubydebug }
|
|
}
|
|
} |