From bdf881ffaf9d5db0510857096ce116805373c6cb Mon Sep 17 00:00:00 2001 From: Daniel Fireman Date: Mon, 20 Mar 2017 11:27:49 -0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6a43811..0561556 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Generate a load specification (`poisson.loadspec.json`) that describe the follow ```bash -$ echo '{"query": {"term": {"text": {"value": "$RDICT"}}}}' | ./esperf loadspec gen --arrival_spec=poisson:5 --dictionary_file=small_dict.txt --duration=10s "http://localhost:9200/wikipediax?search_type=query_then_fetch" > poisson.loadspec.json +$ echo '{"query": {"term": {"text": {"value": "$RDICT"}}}}' | ./esperf loadspec gen --arrival_spec=poisson:5 --dictionary_file=small_dict.txt --duration=10s "http://localhost:9200/wikipediax/_search?search_type=query_then_fetch" > poisson.loadspec.json ``` Using the a loadpspec file to run a loadtest. All the results will be placed at the current directory and statistics will be collected each second from http://localhost:9200. @@ -61,7 +61,7 @@ cat my_slowlogs.log | ./esperf loadspec parseslowlog > slowlogs.loadspec.json If you would like to change URL parameters of the query (for instance, replay the loadtests on another host:port). ```bash -cat my_slowlogs.log | ./esperf loadspec parseslowlog "http://localhost:9200/wikipediax?search_type=query_then_fetch" > slowlogs.loadspec.json +cat my_slowlogs.log | ./esperf loadspec parseslowlog "http://localhost:9200/wikipediax/_search?search_type=query_then_fetch" > slowlogs.loadspec.json ``` ## Why esperf exists?