Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Commit

Permalink
Update 50-outputs.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew authored Dec 26, 2021
1 parent a712bed commit 3377bc1
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions etc/pfelk/conf.d/50-outputs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,17 @@ filter {
}
}
output {
if [type] == "beats" {
elasticsearch {
hosts => ["http://es01:9200"]
index => "%{[@metadata][beat]}-%{[@metadata][version]}"
# ecs_compatibility => "v1"
### X-Pack Username and Password ###
# user => USERNAMEHERE
# password => PASSWORDHERE
}
}
# if [type] == "beats" {
# elasticsearch {
# hosts => ["http://es01:9200"]
# index => "%{[@metadata][beat]}-%{[@metadata][version]}"
# ecs_compatibility => "v1"
# manage_template => false
# ### X-Pack Username and Password ###
# user => USERNAMEHERE
# password => PASSWORDHERE
# }
# }
elasticsearch {
hosts => ["http://es01:9200"]
data_stream => "true"
Expand Down

0 comments on commit 3377bc1

Please sign in to comment.