Skip to content

Commit 619ee0c

Browse files
Joe Gastanthonygauthier
authored andcommitted
ElasticSearrchRequests.java - updated request
- changed index to create to support datastream indexes
1 parent d837c09 commit 619ee0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/github/delirius325/jmeter/backendlistener/elasticsearch/ElasticSearchRequests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ public class ElasticSearchRequests {
44
/**
55
* Request to send metrics (JMeter/Percentiles) as ElasticSearch documents
66
*/
7-
public static String SEND_BULK_REQUEST = "{ \"index\" : { \"_index\" : \"%s\" } }%n";
7+
public static String SEND_BULK_REQUEST = "{ \"create\" : { \"_index\" : \"%s\" } }%n";
88
}

0 commit comments

Comments
 (0)