Created
October 7, 2018 07:30
-
-
Save ruflin/b0228fe1b93bc9e3b891537c37a1063c to your computer and use it in GitHub Desktop.
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
| DELETE ecs | |
| PUT ecs | |
| POST ecs/_mapping/_doc | |
| { | |
| "properties": { | |
| "host.name": { | |
| "type": "keyword" | |
| } | |
| } | |
| } | |
| GET ecs | |
| POST ecs/_mapping/_doc | |
| { | |
| "properties": { | |
| "host.name": { | |
| "type": "keyword", | |
| "fields": { | |
| "text": { | |
| "type": "text" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| GET ecs | |
| POST ecs/_mapping/_doc | |
| { | |
| "properties": { | |
| "host.name": { | |
| "type": "keyword", | |
| "fields": { | |
| "text": { | |
| "type": "text" | |
| } | |
| } | |
| }, | |
| "host.ip": { | |
| "type": "ip" | |
| } | |
| } | |
| } | |
| GET ecs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment