From 36913f4efce511d5e1fbcb6c3b892ffb699e1d8b Mon Sep 17 00:00:00 2001 From: Mak Muftic Date: Mon, 27 Sep 2021 13:28:28 +0200 Subject: [PATCH] Fix elasticsearch index setup --- node/modules/tracer/elasticsearch_transport.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/modules/tracer/elasticsearch_transport.go b/node/modules/tracer/elasticsearch_transport.go index d0d7b84a1..49060a13d 100644 --- a/node/modules/tracer/elasticsearch_transport.go +++ b/node/modules/tracer/elasticsearch_transport.go @@ -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", }