Skip to content

Instantly share code, notes, and snippets.

@ricardodestro
Created November 29, 2017 19:31
Show Gist options
  • Save ricardodestro/f971386534dca4b48a978dba9d140c8b to your computer and use it in GitHub Desktop.
Save ricardodestro/f971386534dca4b48a978dba9d140c8b to your computer and use it in GitHub Desktop.
ElasticSearch - Graylog - Templates - Heap - Health
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