Fix elasticsearch index setup

This commit is contained in:
Mak Muftic 2021-09-27 13:28:28 +02:00
parent 6c680e306d
commit 36913f4efc

View File

@ -73,7 +73,7 @@ func (est *elasticSearchTransport) Transport(evt TracerTransportEvent) error {
}
req := esapi.IndexRequest{
Index: ElasticSearch_INDEX,
Index: est.esIndex,
Body: strings.NewReader(string(jsonEvt)),
Refresh: "true",
}