docker swarm
This commit is contained in:
@ -18,14 +18,14 @@ filter {
|
||||
output {
|
||||
if [servicename] {
|
||||
elasticsearch {
|
||||
hosts => [ "crm1-es-elasticsearch:9200" ]
|
||||
hosts => [ "prod-es-elasticsearch:9200" ]
|
||||
index => "sslog-%{[service]}"
|
||||
action => "create"
|
||||
ilm_enabled => false
|
||||
}
|
||||
}else{
|
||||
elasticsearch {
|
||||
hosts => [ "crm1-es-elasticsearch:9200" ]
|
||||
hosts => [ "prod-es-elasticsearch:9200" ]
|
||||
index => "sslog-default"
|
||||
action => "create"
|
||||
ilm_enabled => false
|
||||
|
Reference in New Issue
Block a user