Создание карты подключений Elasticsearch + Fluent Bit + Nginx Ingress Controller19.04.2024 16:15
{
"mappings": {
"dynamic": "false",
"dynamic_templates": [],
"properties": {
"@timestamp": {
"type": "date"
},
"bytes_sent": {
"type": "long"
},
"client_geo_ip": {
"dynamic": "false",
"properties": {
"city_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"continent_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"country_iso_code": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"country_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"location": {
"type": "geo_point",
"ignore_malformed": false,
"ignore_z_value": true
},
"region_iso_code": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"region_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
"duration": {
"type": "float"
},
"http_referrer": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"http_user_agent": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"method": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"path": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"remote_addr": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"remote_user": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"request_id": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"request_length": {
"type": "long"
},
"request_proto": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"request_query": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"request_time": {
"type": "float"
},
"server_addr": {
"type": "ip",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"server_geo_ip": {
"dynamic": "false",
"properties": {
"city_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"continent_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"country_iso_code": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"country_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"location": {
"type": "geo_point"
},
"region_iso_code": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"region_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
}
}
},
"status": {
"type": "short",
"ignore_malformed": false,
"coerce": true
},
"upstream_addr": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"upstream_response_length": {
"type": "long",
"ignore_malformed": false,
"coerce": true
},
"upstream_response_time": {
"type": "float",
"ignore_malformed": false,
"coerce": true
},
"upstream_status": {
"type": "short",
"ignore_malformed": false,
"coerce": true
},
"vhost": {
"type": "text",
"fields": {
"keyword": {
"type": "wildcard",
"ignore_above": 256
}
}
},
"x_forward_for": {
"type": "ip",
"fields": {
"keyword": {
"type": "keyword"
}
}
}
}
}
}
© Habrahabr.ru