Skip to content

Commit

Permalink
fix tag check
Browse files Browse the repository at this point in the history
  • Loading branch information
weslambert committed Dec 11, 2017
1 parent 5ec306b commit a7389f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion configfiles/9500_output_beats.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ filter {
}
}
}

output {
if "beat" in [tags] {
elasticsearch {
hosts => elasticsearch
index => "logstash-beats-%{+YYYY.MM.dd}"
template => "/beats-template.json"
}
}
}

0 comments on commit a7389f7

Please sign in to comment.