Skip to content

Commit e1198c3

Browse files
authored
Logstash PR fix (#3460)
1 parent 92a26e0 commit e1198c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/analytics/logstash/logstash.conf

+2-2
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@ output {
124124
if [type] == "client" {
125125
elasticsearch {
126126
hosts => ["${LOGSTASH_OUTPUT_HOST}"]
127-
index => "cvat.client"
127+
index => "%{[@metadata][target_index_client]}"
128128
user => "${LOGSTASH_OUTPUT_USER:}"
129129
password => "${LOGSTASH_OUTPUT_PASS:}"
130130
manage_template => false
131131
}
132132
} else if [type] == "server" {
133133
elasticsearch {
134134
hosts => ["${LOGSTASH_OUTPUT_HOST}"]
135-
index => "cvat.server"
135+
index => "%{[@metadata][target_index_server]}"
136136
user => "${LOGSTASH_OUTPUT_USER:}"
137137
password => "${LOGSTASH_OUTPUT_PASS:}"
138138
manage_template => false

0 commit comments

Comments
 (0)