Skip to content

Commit

Permalink
ElasticSearrchRequests.java - updated request
Browse files Browse the repository at this point in the history
- changed index to create to support datastream indexes
  • Loading branch information
Joe Gast authored and anthonygauthier committed Jul 14, 2023
1 parent d837c09 commit 619ee0c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ public class ElasticSearchRequests {
/**
* Request to send metrics (JMeter/Percentiles) as ElasticSearch documents
*/
public static String SEND_BULK_REQUEST = "{ \"index\" : { \"_index\" : \"%s\" } }%n";
public static String SEND_BULK_REQUEST = "{ \"create\" : { \"_index\" : \"%s\" } }%n";
}

0 comments on commit 619ee0c

Please sign in to comment.