Renaming template
This commit is contained in:
244
elasticsearch/logstash-nessus-template.json
Executable file
244
elasticsearch/logstash-nessus-template.json
Executable file
@ -0,0 +1,244 @@
|
||||
{
|
||||
"order": 0,
|
||||
"template": "logstash-nessus-*",
|
||||
"settings": {
|
||||
"index": {
|
||||
"routing": {
|
||||
"allocation": {
|
||||
"total_shards_per_node": "2"
|
||||
}
|
||||
},
|
||||
"mapping": {
|
||||
"total_fields": {
|
||||
"limit": "3000"
|
||||
}
|
||||
},
|
||||
"refresh_interval": "5s",
|
||||
"number_of_shards": "1",
|
||||
"number_of_replicas": "1"
|
||||
}
|
||||
},
|
||||
"mappings": {
|
||||
"_default_": {
|
||||
"dynamic_templates": [
|
||||
{
|
||||
"message_field": {
|
||||
"mapping": {
|
||||
"fielddata": {
|
||||
"format": "disabled"
|
||||
},
|
||||
"index": "analyzed",
|
||||
"omit_norms": true,
|
||||
"type": "string"
|
||||
},
|
||||
"match_mapping_type": "string",
|
||||
"match": "message"
|
||||
}
|
||||
},
|
||||
{
|
||||
"string_fields": {
|
||||
"mapping": {
|
||||
"fielddata": {
|
||||
"format": "disabled"
|
||||
},
|
||||
"index": "analyzed",
|
||||
"omit_norms": true,
|
||||
"type": "string",
|
||||
"fields": {
|
||||
"raw": {
|
||||
"ignore_above": 256,
|
||||
"index": "not_analyzed",
|
||||
"type": "string",
|
||||
"doc_values": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"match_mapping_type": "string",
|
||||
"match": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ip_address_fields": {
|
||||
"mapping": {
|
||||
"type": "ip"
|
||||
},
|
||||
"match": "*_ip"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ipv6_address_fields": {
|
||||
"mapping": {
|
||||
"index": "not_analyzed",
|
||||
"type": "string"
|
||||
},
|
||||
"match": "*_ipv6"
|
||||
}
|
||||
},
|
||||
{
|
||||
"float_fields": {
|
||||
"mapping": {
|
||||
"type": "float",
|
||||
"doc_values": true
|
||||
},
|
||||
"match_mapping_type": "float",
|
||||
"match": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"double_fields": {
|
||||
"mapping": {
|
||||
"type": "double",
|
||||
"doc_values": true
|
||||
},
|
||||
"match_mapping_type": "double",
|
||||
"match": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"byte_fields": {
|
||||
"mapping": {
|
||||
"type": "byte",
|
||||
"doc_values": true
|
||||
},
|
||||
"match_mapping_type": "byte",
|
||||
"match": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"short_fields": {
|
||||
"mapping": {
|
||||
"type": "short",
|
||||
"doc_values": true
|
||||
},
|
||||
"match_mapping_type": "short",
|
||||
"match": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"integer_fields": {
|
||||
"mapping": {
|
||||
"type": "integer",
|
||||
"doc_values": true
|
||||
},
|
||||
"match_mapping_type": "integer",
|
||||
"match": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"long_fields": {
|
||||
"mapping": {
|
||||
"type": "long",
|
||||
"doc_values": true
|
||||
},
|
||||
"match_mapping_type": "long",
|
||||
"match": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"date_fields": {
|
||||
"mapping": {
|
||||
"type": "date",
|
||||
"doc_values": true
|
||||
},
|
||||
"match_mapping_type": "date",
|
||||
"match": "*"
|
||||
}
|
||||
},
|
||||
{
|
||||
"geo_point_fields": {
|
||||
"mapping": {
|
||||
"type": "geo_point",
|
||||
"doc_values": true
|
||||
},
|
||||
"match_mapping_type": "geo_point",
|
||||
"match": "*"
|
||||
}
|
||||
}
|
||||
],
|
||||
"_all": {
|
||||
"omit_norms": true,
|
||||
"enabled": true
|
||||
},
|
||||
"properties": {
|
||||
"plugin_id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"last_updated": {
|
||||
"type": "date",
|
||||
"doc_values": true
|
||||
},
|
||||
"geoip": {
|
||||
"dynamic": true,
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"ip": {
|
||||
"type": "ip",
|
||||
"doc_values": true
|
||||
},
|
||||
"latitude": {
|
||||
"type": "float",
|
||||
"doc_values": true
|
||||
},
|
||||
"location": {
|
||||
"type": "geo_point",
|
||||
"doc_values": true
|
||||
},
|
||||
"longitude": {
|
||||
"type": "float",
|
||||
"doc_values": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"risk_score": {
|
||||
"type": "float"
|
||||
},
|
||||
"source": {
|
||||
"index": "not_analyzed",
|
||||
"type": "string"
|
||||
},
|
||||
"synopsis": {
|
||||
"index": "not_analyzed",
|
||||
"type": "string"
|
||||
},
|
||||
"see_also": {
|
||||
"index": "not_analyzed",
|
||||
"type": "string"
|
||||
},
|
||||
"@timestamp": {
|
||||
"type": "date",
|
||||
"doc_values": true
|
||||
},
|
||||
"cve": {
|
||||
"index": "not_analyzed",
|
||||
"type": "string"
|
||||
},
|
||||
"solution": {
|
||||
"index": "not_analyzed",
|
||||
"type": "string"
|
||||
},
|
||||
"port": {
|
||||
"type": "integer"
|
||||
},
|
||||
"host": {
|
||||
"type": "ip"
|
||||
},
|
||||
"@version": {
|
||||
"index": "not_analyzed",
|
||||
"type": "string",
|
||||
"doc_values": true
|
||||
},
|
||||
"risk": {
|
||||
"index": "not_analyzed",
|
||||
"type": "string"
|
||||
},
|
||||
"assign_ip": {
|
||||
"type": "ip"
|
||||
},
|
||||
"cvss": {
|
||||
"type": "float"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"aliases": {}
|
||||
}
|
Reference in New Issue
Block a user