Commit ea9aecc0 by Amir Aharon

add es2csv query

parent 8ce8dcda
Showing with 2 additions and 0 deletions
...@@ -39,3 +39,5 @@ curl -XGET "http://localhost:9200/activityidx/activity/_search" -d' ...@@ -39,3 +39,5 @@ curl -XGET "http://localhost:9200/activityidx/activity/_search" -d'
pip install es2csv pip install es2csv
es2csv -q 'type:"thing/*"' -u 172.16.1.72:9200 -o activities.csv -m 100 -i activityidx -f creationTime type metaData es2csv -q 'type:"thing/*"' -u 172.16.1.72:9200 -o activities.csv -m 100 -i activityidx -f creationTime type metaData
es2csv -q 'type:"thing/traffic-lane" AND userId:"chicago/*"' -u 172.16.1.72:9200 -o activities.csv -m 100 -i activityidx -f creationTime id type metaData
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment