Last active
July 27, 2019 14:00
-
-
Save pracps/5ba99dfa28680c6b2377fe12d600a883 to your computer and use it in GitHub Desktop.
ES Dev tool calls
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET _search | |
{ | |
"query": { | |
"match_all": {} | |
} | |
} | |
GET prodbuilds/_search { | |
} | |
POST prodbuilds/_delete_by_query | |
{ | |
"query": { | |
"match_all": {} | |
} | |
} | |
PUT prodbuilds | |
{ | |
"mappings": { | |
"properties": { | |
"timestamp": { | |
"type": "date", | |
"format": "yyyy-MM-dd HH:mm:ss" | |
}, | |
"deploymentTime": { | |
"type": "date", | |
"format": "yyyy-MM-dd HH:mm:ss" | |
}, | |
"id": {"type": "text"}, | |
"deployer": {"type": "text"}, | |
"commitID": {"type": "text"}, | |
"deployedBranch": {"type": "text"}, | |
"serviceName": {"type": "keyword"}, | |
"developedBy": {"type": "text"}, | |
"imageName": {"type": "text"}, | |
"jiraDetails": {"type": "text"}, | |
"jobID": {"type": "text"}, | |
"prDetails": {"type": "text"}, | |
"productManager": {"type": "text"}, | |
"qaCertifiedBy": {"type": "text"}, | |
"rpm": {"type": "text"} | |
} | |
} | |
} | |
PUT prodbuildsnew | |
{ | |
"mappings": { | |
"properties": { | |
"timestamp": { | |
"type": "date", | |
"format": "yyyy-MM-dd HH:mm:ss" | |
}, | |
"deployedBranch": {"type": "text"}, | |
"serviceName": {"type": "keyword"}, | |
"developedBy": {"type": "text"}, | |
"imageName": {"type": "text"}, | |
"jiraDetails": {"type": "text"}, | |
"jobID": {"type": "text"}, | |
"prDetails": {"type": "text"}, | |
"productManager": {"type": "text"}, | |
"qaCertifiedBy": {"type": "text"}, | |
"rpm": {"type": "text"} | |
} | |
} | |
} | |
DELETE prodbuildsnew | |
GET /_cat/plugins?v&s=component&h=name,component,version,description | |
GET /_xpack?pretty | |
POST /packer/_doc | |
{ | |
"timestamp": "2018-09-28 20:25:51", | |
"service": "zodiacunity", | |
"branch": "master" | |
} | |
GET packer/_search | |
{ | |
} | |
GET /_security/user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment