Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
ipgallery
/
devops
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Registry
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
084d4957
authored
Oct 15, 2017
by
amir
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add
parent
146c15a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
common/docs/elasticsearch-rest.txt
common/docs/elasticsearch-rest.txt
View file @
084d4957
...
...
@@ -18,4 +18,24 @@ curl -XPOST 'http://172.16.1.72:9200/activityidx/activity/_delete_by_query' -d '
}
}
}
}'
\ No newline at end of file
}'
curl -XGET "http://localhost:9200/activityidx/activity/_search" -d'
{
"query": {
"range": {
"creationTime": {
"gte": 1507036693000
}
}
}
}'
///CSV
pip install es2csv
es2csv -q 'type:"thing/*"' -u 172.16.1.72:9200 -o activities.csv -m 100 -i activityidx -f creationTime type metaData
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment