Created
November 29, 2017 19:31
-
-
Save ricardodestro/f971386534dca4b48a978dba9d140c8b to your computer and use it in GitHub Desktop.
ElasticSearch - Graylog - Templates - Heap - Health
This file contains 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 _all | |
GET _cat/nodes?h=heap*&v | |
GET _cluster/health | |
GET _cluster/health?level=indices | |
GET _cluster/health?level=shards | |
GET _cluster/settings | |
GET _cluster/health?wait_for_status=green | |
GET _template | |
GET _settings | |
GET graylog_deflector/_mapping?pretty | |
GET _nodes/process?pretty | |
POST _search | |
{ | |
"query": { | |
"match": { | |
"app_name": "tecops_report" | |
} | |
} | |
} | |
PUT _template/graylog-custom-mapping | |
{ | |
"template": "graylog_*", | |
"mappings" : { | |
"message" : { | |
"properties" : { | |
"httpStatus" : { | |
"type" : "string", | |
"index" : "not_analyzed" | |
}, | |
"exceptionMessage" : { | |
"type" : "string", | |
"index" : "not_analyzed" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment