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", }