Skip to content

Commit

Permalink
add range query example
Browse files Browse the repository at this point in the history
  • Loading branch information
medcl authored Jun 10, 2021
1 parent 7788662 commit 3f90a26
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,12 @@ filter migration with range query
```

range query, keyword type and escape

```
./esm -s https://192.168.3.98:9200 -m test:123 -o 1.txt -x test1 -q "@timestamp.keyword:[\"2021-01-17 03:41:20\" TO \"2021-03-17 03:41:20\"]"
```

generate testing data, if `input.json` contains 10 documents, the follow command will ingest 100 documents, good for testing
```
./bin/esm -i input.json -d http://localhost:9201 -y target-index1 --regenerate_id --repeat_times=10
Expand Down

0 comments on commit 3f90a26

Please sign in to comment.