Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "template": "flume-*",
- "settings": {
- "indices" : {
- "ttl.interval" : "5s",
- "ttl.bulk_size": 1
- }
- },
- "mappings": {
- "es-river": {
- "_ttl" : {
- "enabled" : true,
- "default" : "1m",
- "index": "not_analyzed"
- },
- "properties": {
- "request_type": {
- "type": "string",
- "store": "yes",
- "index": "analyzed"
- },
- "provider_name": {
- "type": "string",
- "store": "yes",
- "index": "analyzed"
- },
- "creation_time": {
- "type": "string",
- "store": "yes",
- "index": "analyzed"
- },
- "process_id": {
- "type": "string",
- "store": "yes",
- "index": "analyzed"
- },
- "url": {
- "type": "string",
- "store": "yes",
- "index": "analyzed"
- },
- "request_code": {
- "type": "string",
- "store": "yes",
- "index": "analyzed"
- },
- "message": {
- "type": "string",
- "store": "yes",
- "index": "analyzed"
- },
- "source": {
- "type": "string",
- "store": "yes",
- "index": "analyzed"
- },
- "host": {
- "type": "string",
- "store": "yes",
- "index": "analyzed"
- },
- "timestamp": {
- "type": "date",
- "store": "yes",
- "index": "analyzed"
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement