Skip to content

Commit

Permalink
Fix logstash mutate to remove localhost
Browse files Browse the repository at this point in the history
    Closes #51
  • Loading branch information
tophertimzen committed May 30, 2019
1 parent 75028ef commit cffce71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion puppet/modules/elk/files/ls.conf
Expand Up @@ -15,7 +15,7 @@ input {

filter {
mutate {
add_field => { "host" => "${hostname}" }
update => { "host" => "${hostname}" }
}
grok {
match => { "message" => "%{IP:client}" }
Expand Down
2 changes: 1 addition & 1 deletion puppet/modules/elk/files/proxy.conf
Expand Up @@ -13,7 +13,7 @@ input {

filter {
mutate {
add_field => { "host" => "${hostname}" }
update => { "host" => "${hostname}" }
}
grok {
match => { "message" => "%{IP:client}" }
Expand Down

0 comments on commit cffce71

Please sign in to comment.