diff --git a/plugins/outputs/elasticsearch/elasticsearch_test.go b/plugins/outputs/elasticsearch/elasticsearch_test.go index c2028a853..a474be76e 100644 --- a/plugins/outputs/elasticsearch/elasticsearch_test.go +++ b/plugins/outputs/elasticsearch/elasticsearch_test.go @@ -16,12 +16,11 @@ func TestConnectAndWrite(t *testing.T) { t.Skip("Skipping integration test in short mode") } - //serverhost := "http://" + testutil.GetLocalHost() + ":19200" - serverhost := "http://10.200.83.10:19200" + serverhost := "http://" + testutil.GetLocalHost() + ":19200" e := &Elasticsearch{ ServerHost: serverhost, - IndexName: "littletest3%Y%m%d", + IndexName: "littletest%Y%m%d", NumberOfShards: 2, NumberOfReplicas: 2, }