Fix elasticsearch index setup
This commit is contained in:
parent
6c680e306d
commit
36913f4efc
@ -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",
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user