Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GET /mytext/_search
- {
- "fields": [ "file.name" ],
- "query": {
- "match": {
- "file.content": "foobar"
- }
- },
- "highlight": {
- "fields": {
- "file.content": {
- }
- }
- }
- }
- curl -XPUT -uelastic:changeme 'localhost:9200/_shield/user/elastic/_password' -d '{ "password" : "newpass1" }'
- curl -XPUT -uelastic:_Elastic 'localhost:9200/_shield/user/kibana/_password' -d '{ "password" : "newpass2" }'
- GET http://localhost:9200/_nodes
- "nodes" : {
- "v_XmZh7jQCiIMYCG2AFhJg" : {
- "transport_address" : "127.0.0.1:9300",
- "version" : "5.0.0-alpha2",
- "roles" : [ "master", "data", "ingest" ],
- ...
- "settings" : {
- "node" : {
- "name" : "Apache Kid"
- },
- "http" : {
- "type" : "security"
- },
- "transport" : {
- "type" : "security",
- "service" : {
- "type" : "security"
- }
- },
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement