Created
November 14, 2018 15:34
-
-
Save phillpafford/15caf428f8a3dc37e37d3dc1f2a469ef 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
{ | |
"logstash-2018.11": { | |
"mappings": { | |
"doc": { | |
"_meta": { | |
"version": "6.4.2" | |
}, | |
"dynamic_templates": [ | |
{ | |
"fields": { | |
"path_match": "fields.*", | |
"match_mapping_type": "string", | |
"mapping": { | |
"type": "keyword" | |
} | |
} | |
}, | |
{ | |
"docker.container.labels": { | |
"path_match": "docker.container.labels.*", | |
"match_mapping_type": "string", | |
"mapping": { | |
"type": "keyword" | |
} | |
} | |
}, | |
{ | |
"kibana.log.meta": { | |
"path_match": "kibana.log.meta.*", | |
"match_mapping_type": "string", | |
"mapping": { | |
"type": "keyword" | |
} | |
} | |
}, | |
{ | |
"strings_as_keyword": { | |
"match_mapping_type": "string", | |
"mapping": { | |
"ignore_above": 1024, | |
"type": "keyword" | |
} | |
} | |
} | |
], | |
"date_detection": false, | |
"properties": { | |
"@timestamp": { | |
"type": "date" | |
}, | |
"@version": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"apache2": { | |
"properties": { | |
"access": { | |
"properties": { | |
"agent": { | |
"type": "text", | |
"norms": false | |
}, | |
"body_sent": { | |
"properties": { | |
"bytes": { | |
"type": "long" | |
} | |
} | |
}, | |
"geoip": { | |
"properties": { | |
"city_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"continent_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"country_iso_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"location": { | |
"type": "geo_point" | |
}, | |
"region_iso_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"region_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"http_version": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"method": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"referrer": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"remote_ip": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"response_code": { | |
"type": "long" | |
}, | |
"url": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"user_agent": { | |
"properties": { | |
"build": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"device": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"major": { | |
"type": "long" | |
}, | |
"minor": { | |
"type": "long" | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"os": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"os_major": { | |
"type": "long" | |
}, | |
"os_minor": { | |
"type": "long" | |
}, | |
"os_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"patch": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"user_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"error": { | |
"properties": { | |
"client": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"level": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"module": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"pid": { | |
"type": "long" | |
}, | |
"tid": { | |
"type": "long" | |
} | |
} | |
} | |
} | |
}, | |
"beat": { | |
"properties": { | |
"hostname": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"timezone": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"version": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"count": { | |
"type": "long" | |
}, | |
"docker": { | |
"properties": { | |
"container": { | |
"properties": { | |
"id": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"image": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"labels": { | |
"type": "object" | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"elasticsearch": { | |
"properties": { | |
"audit": { | |
"properties": { | |
"action": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"event_type": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"layer": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"origin_address": { | |
"type": "ip" | |
}, | |
"origin_type": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"principal": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"request": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"request_body": { | |
"type": "text", | |
"norms": false | |
}, | |
"uri": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"deprecation": { | |
"type": "object" | |
}, | |
"gc": { | |
"properties": { | |
"heap": { | |
"properties": { | |
"size_kb": { | |
"type": "long" | |
}, | |
"used_kb": { | |
"type": "long" | |
} | |
} | |
}, | |
"jvm_runtime_sec": { | |
"type": "float" | |
}, | |
"old_gen": { | |
"properties": { | |
"size_kb": { | |
"type": "long" | |
}, | |
"used_kb": { | |
"type": "long" | |
} | |
} | |
}, | |
"phase": { | |
"properties": { | |
"class_unload_time_sec": { | |
"type": "float" | |
}, | |
"cpu_time": { | |
"properties": { | |
"real_sec": { | |
"type": "float" | |
}, | |
"sys_sec": { | |
"type": "float" | |
}, | |
"user_sec": { | |
"type": "float" | |
} | |
} | |
}, | |
"duration_sec": { | |
"type": "float" | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"parallel_rescan_time_sec": { | |
"type": "float" | |
}, | |
"scrub_string_table_time_sec": { | |
"type": "float" | |
}, | |
"scrub_symbol_table_time_sec": { | |
"type": "float" | |
}, | |
"weak_refs_processing_time_sec": { | |
"type": "float" | |
} | |
} | |
}, | |
"stopping_threads_time_sec": { | |
"type": "float" | |
}, | |
"tags": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"threads_total_stop_time_sec": { | |
"type": "float" | |
}, | |
"young_gen": { | |
"properties": { | |
"size_kb": { | |
"type": "long" | |
}, | |
"used_kb": { | |
"type": "long" | |
} | |
} | |
} | |
} | |
}, | |
"index": { | |
"properties": { | |
"id": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"node": { | |
"properties": { | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"server": { | |
"properties": { | |
"component": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"gc": { | |
"properties": { | |
"young": { | |
"properties": { | |
"one": { | |
"type": "long" | |
}, | |
"two": { | |
"type": "long" | |
} | |
} | |
} | |
} | |
}, | |
"gc_overhead": { | |
"type": "long" | |
} | |
} | |
}, | |
"shard": { | |
"properties": { | |
"id": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"slowlog": { | |
"properties": { | |
"extra_source": { | |
"type": "text", | |
"norms": false | |
}, | |
"id": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"logger": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"routing": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"search_type": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"source_query": { | |
"type": "text", | |
"norms": false | |
}, | |
"stats": { | |
"type": "text", | |
"norms": false | |
}, | |
"took": { | |
"type": "text", | |
"norms": false | |
}, | |
"took_millis": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"total_hits": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"total_shards": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"type": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"types": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"error": { | |
"properties": { | |
"code": { | |
"type": "long" | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"type": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"event": { | |
"properties": { | |
"created": { | |
"type": "date" | |
}, | |
"severity": { | |
"type": "long" | |
} | |
} | |
}, | |
"fields": { | |
"properties": { | |
"app_name": { | |
"type": "keyword" | |
}, | |
"ecs_cluster": { | |
"type": "keyword" | |
}, | |
"environment": { | |
"type": "keyword" | |
}, | |
"region": { | |
"type": "keyword" | |
} | |
} | |
}, | |
"file": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"fileset": { | |
"properties": { | |
"module": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"geoip": { | |
"properties": { | |
"city_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"continent_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"country_code2": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"country_code3": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"country_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"ip": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"latitude": { | |
"type": "float" | |
}, | |
"location": { | |
"type": "float" | |
}, | |
"longitude": { | |
"type": "float" | |
}, | |
"region_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"region_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"timezone": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"host": { | |
"properties": { | |
"architecture": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"id": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"ip": { | |
"type": "ip" | |
}, | |
"mac": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"os": { | |
"properties": { | |
"family": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"platform": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"version": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"http": { | |
"properties": { | |
"request": { | |
"properties": { | |
"method": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"response": { | |
"properties": { | |
"content_length": { | |
"type": "long" | |
}, | |
"elapsed_time": { | |
"type": "long" | |
}, | |
"status_code": { | |
"type": "long" | |
} | |
} | |
} | |
} | |
}, | |
"kibana": { | |
"properties": { | |
"log": { | |
"properties": { | |
"meta": { | |
"type": "object" | |
}, | |
"state": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"tags": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"kubernetes": { | |
"properties": { | |
"annotations": { | |
"type": "object" | |
}, | |
"container": { | |
"properties": { | |
"image": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"labels": { | |
"type": "object" | |
}, | |
"namespace": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"node": { | |
"properties": { | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"pod": { | |
"properties": { | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"uid": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"log": { | |
"properties": { | |
"level": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"logstash": { | |
"properties": { | |
"log": { | |
"properties": { | |
"level": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"log_event": { | |
"type": "object" | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"module": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"thread": { | |
"type": "text", | |
"norms": false | |
} | |
} | |
}, | |
"slowlog": { | |
"properties": { | |
"event": { | |
"type": "text", | |
"norms": false | |
}, | |
"level": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"module": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"plugin_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"plugin_params": { | |
"type": "text", | |
"norms": false | |
}, | |
"plugin_params_object": { | |
"type": "object" | |
}, | |
"plugin_type": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"thread": { | |
"type": "text", | |
"norms": false | |
}, | |
"took_in_millis": { | |
"type": "long" | |
}, | |
"took_in_nanos": { | |
"type": "long" | |
} | |
} | |
} | |
} | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"meta": { | |
"properties": { | |
"cloud": { | |
"properties": { | |
"availability_zone": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"instance_id": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"instance_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"machine_type": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"project_id": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"provider": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"region": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"nginx": { | |
"properties": { | |
"access": { | |
"properties": { | |
"agent": { | |
"type": "text", | |
"norms": false | |
}, | |
"body_sent": { | |
"properties": { | |
"bytes": { | |
"type": "long" | |
} | |
} | |
}, | |
"geoip": { | |
"properties": { | |
"city_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"continent_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"country_iso_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"location": { | |
"type": "geo_point" | |
}, | |
"region_iso_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"region_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"http_version": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"method": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"referrer": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"remote_ip": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"response_code": { | |
"type": "long" | |
}, | |
"url": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"user_agent": { | |
"properties": { | |
"device": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"major": { | |
"type": "long" | |
}, | |
"minor": { | |
"type": "long" | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"os": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"os_major": { | |
"type": "long" | |
}, | |
"os_minor": { | |
"type": "long" | |
}, | |
"os_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"patch": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"user_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"error": { | |
"properties": { | |
"connection_id": { | |
"type": "long" | |
}, | |
"level": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"pid": { | |
"type": "long" | |
}, | |
"tid": { | |
"type": "long" | |
} | |
} | |
} | |
} | |
}, | |
"offset": { | |
"type": "long" | |
}, | |
"postgresql": { | |
"properties": { | |
"log": { | |
"properties": { | |
"database": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"duration": { | |
"type": "float" | |
}, | |
"level": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"query": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"thread_id": { | |
"type": "long" | |
}, | |
"timestamp": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"timezone": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"user": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"process": { | |
"properties": { | |
"pid": { | |
"type": "long" | |
}, | |
"program": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"prospector": { | |
"properties": { | |
"type": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"read_timestamp": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"redis": { | |
"properties": { | |
"log": { | |
"properties": { | |
"level": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"pid": { | |
"type": "long" | |
}, | |
"role": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"slowlog": { | |
"properties": { | |
"args": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"cmd": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"duration": { | |
"properties": { | |
"us": { | |
"type": "long" | |
} | |
} | |
}, | |
"id": { | |
"type": "long" | |
}, | |
"key": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"service": { | |
"properties": { | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"source": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"stream": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"syslog": { | |
"properties": { | |
"facility": { | |
"type": "long" | |
}, | |
"facility_label": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"priority": { | |
"type": "long" | |
}, | |
"severity_label": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"syslog_facility": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"syslog_facility_code": { | |
"type": "long" | |
}, | |
"syslog_hostname": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"syslog_message": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"syslog_pid": { | |
"type": "long" | |
}, | |
"syslog_program": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"syslog_received_at": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"syslog_received_from": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"syslog_severity": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"syslog_severity_code": { | |
"type": "long" | |
}, | |
"syslog_timestamp": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"system": { | |
"properties": { | |
"auth": { | |
"properties": { | |
"groupadd": { | |
"properties": { | |
"gid": { | |
"type": "long" | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"hostname": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"pid": { | |
"type": "long" | |
}, | |
"program": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"ssh": { | |
"properties": { | |
"dropped_ip": { | |
"type": "ip" | |
}, | |
"event": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"geoip": { | |
"properties": { | |
"city_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"continent_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"country_iso_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"location": { | |
"type": "geo_point" | |
}, | |
"region_iso_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"region_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"ip": { | |
"type": "ip" | |
}, | |
"method": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"port": { | |
"type": "long" | |
}, | |
"signature": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"sudo": { | |
"properties": { | |
"command": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"error": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"pwd": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"tty": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"user": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"timestamp": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"user": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"useradd": { | |
"properties": { | |
"gid": { | |
"type": "long" | |
}, | |
"home": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"shell": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"uid": { | |
"type": "long" | |
} | |
} | |
} | |
} | |
}, | |
"syslog": { | |
"properties": { | |
"hostname": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"message": { | |
"type": "text", | |
"norms": false | |
}, | |
"pid": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"program": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"timestamp": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"tags": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"traefik": { | |
"properties": { | |
"access": { | |
"properties": { | |
"agent": { | |
"type": "text", | |
"norms": false | |
}, | |
"backend_url": { | |
"type": "text", | |
"norms": false | |
}, | |
"body_sent": { | |
"properties": { | |
"bytes": { | |
"type": "long" | |
} | |
} | |
}, | |
"frontend_name": { | |
"type": "text", | |
"norms": false | |
}, | |
"geoip": { | |
"properties": { | |
"city_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"continent_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"country_iso_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"location": { | |
"type": "geo_point" | |
}, | |
"region_iso_code": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"region_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"http_version": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"method": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"referrer": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"remote_ip": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"request_count": { | |
"type": "long" | |
}, | |
"response_code": { | |
"type": "long" | |
}, | |
"url": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"user_agent": { | |
"properties": { | |
"device": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"major": { | |
"type": "long" | |
}, | |
"minor": { | |
"type": "long" | |
}, | |
"name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"os": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"os_major": { | |
"type": "long" | |
}, | |
"os_minor": { | |
"type": "long" | |
}, | |
"os_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
}, | |
"patch": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
}, | |
"user_name": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
"type": { | |
"type": "keyword", | |
"ignore_above": 1024 | |
} | |
} | |
} | |
} | |
}, | |
".kibana": { | |
"mappings": { | |
"doc": { | |
"dynamic": "strict", | |
"properties": { | |
"config": { | |
"dynamic": "true", | |
"properties": { | |
"buildNum": { | |
"type": "keyword" | |
}, | |
"defaultIndex": { | |
"type": "text", | |
"fields": { | |
"keyword": { | |
"type": "keyword", | |
"ignore_above": 256 | |
} | |
} | |
}, | |
"telemetry:optIn": { | |
"type": "boolean" | |
} | |
} | |
}, | |
"dashboard": { | |
"properties": { | |
"description": { | |
"type": "text" | |
}, | |
"hits": { | |
"type": "integer" | |
}, | |
"kibanaSavedObjectMeta": { | |
"properties": { | |
"searchSourceJSON": { | |
"type": "text" | |
} | |
} | |
}, | |
"optionsJSON": { | |
"type": "text" | |
}, | |
"panelsJSON": { | |
"type": "text" | |
}, | |
"refreshInterval": { | |
"properties": { | |
"display": { | |
"type": "keyword" | |
}, | |
"pause": { | |
"type": "boolean" | |
}, | |
"section": { | |
"type": "integer" | |
}, | |
"value": { | |
"type": "integer" | |
} | |
} | |
}, | |
"timeFrom": { | |
"type": "keyword" | |
}, | |
"timeRestore": { | |
"type": "boolean" | |
}, | |
"timeTo": { | |
"type": "keyword" | |
}, | |
"title": { | |
"type": "text" | |
}, | |
"uiStateJSON": { | |
"type": "text" | |
}, | |
"version": { | |
"type": "integer" | |
} | |
} | |
}, | |
"graph-workspace": { | |
"properties": { | |
"description": { | |
"type": "text" | |
}, | |
"kibanaSavedObjectMeta": { | |
"properties": { | |
"searchSourceJSON": { | |
"type": "text" | |
} | |
} | |
}, | |
"numLinks": { | |
"type": "integer" | |
}, | |
"numVertices": { | |
"type": "integer" | |
}, | |
"title": { | |
"type": "text" | |
}, | |
"version": { | |
"type": "integer" | |
}, | |
"wsState": { | |
"type": "text" | |
} | |
} | |
}, | |
"index-pattern": { | |
"properties": { | |
"fieldFormatMap": { | |
"type": "text" | |
}, | |
"fields": { | |
"type": "text" | |
}, | |
"intervalName": { | |
"type": "keyword" | |
}, | |
"notExpandable": { | |
"type": "boolean" | |
}, | |
"sourceFilters": { | |
"type": "text" | |
}, | |
"timeFieldName": { | |
"type": "keyword" | |
}, | |
"title": { | |
"type": "text" | |
} | |
} | |
}, | |
"search": { | |
"properties": { | |
"columns": { | |
"type": "keyword" | |
}, | |
"description": { | |
"type": "text" | |
}, | |
"hits": { | |
"type": "integer" | |
}, | |
"kibanaSavedObjectMeta": { | |
"properties": { | |
"searchSourceJSON": { | |
"type": "text" | |
} | |
} | |
}, | |
"sort": { | |
"type": "keyword" | |
}, | |
"title": { | |
"type": "text" | |
}, | |
"version": { | |
"type": "integer" | |
} | |
} | |
}, | |
"server": { | |
"properties": { | |
"uuid": { | |
"type": "keyword" | |
} | |
} | |
}, | |
"timelion-sheet": { | |
"properties": { | |
"description": { | |
"type": "text" | |
}, | |
"hits": { | |
"type": "integer" | |
}, | |
"kibanaSavedObjectMeta": { | |
"properties": { | |
"searchSourceJSON": { | |
"type": "text" | |
} | |
} | |
}, | |
"timelion_chart_height": { | |
"type": "integer" | |
}, | |
"timelion_columns": { | |
"type": "integer" | |
}, | |
"timelion_interval": { | |
"type": "keyword" | |
}, | |
"timelion_other_interval": { | |
"type": "keyword" | |
}, | |
"timelion_rows": { | |
"type": "integer" | |
}, | |
"timelion_sheet": { | |
"type": "text" | |
}, | |
"title": { | |
"type": "text" | |
}, | |
"version": { | |
"type": "integer" | |
} | |
} | |
}, | |
"type": { | |
"type": "keyword" | |
}, | |
"updated_at": { | |
"type": "date" | |
}, | |
"url": { | |
"properties": { | |
"accessCount": { | |
"type": "long" | |
}, | |
"accessDate": { | |
"type": "date" | |
}, | |
"createDate": { | |
"type": "date" | |
}, | |
"url": { | |
"type": "text", | |
"fields": { | |
"keyword": { | |
"type": "keyword", | |
"ignore_above": 2048 | |
} | |
} | |
} | |
} | |
}, | |
"visualization": { | |
"properties": { | |
"description": { | |
"type": "text" | |
}, | |
"kibanaSavedObjectMeta": { | |
"properties": { | |
"searchSourceJSON": { | |
"type": "text" | |
} | |
} | |
}, | |
"savedSearchId": { | |
"type": "keyword" | |
}, | |
"title": { | |
"type": "text" | |
}, | |
"uiStateJSON": { | |
"type": "text" | |
}, | |
"version": { | |
"type": "integer" | |
}, | |
"visState": { | |
"type": "text" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment