When chaning the index pattern to match "123", the result is empty:
{}
When the index pattern matches the name, the correct one is called, I set the number of replicas to 555 to have an indicator. So the template is being used
Here's the whole template, is there maybe anything wrong with it?
{
"template": {
"settings": {
"index": {
"number_of_shards": "1",
"number_of_replicas": "555",
"routing": {
"allocation": {
"include": {
"_tier_preference": "data_content"
}
}
}
}
},
"mappings": {
"properties": {
"app_category": {
"type": "keyword"
},
"app_id": {
"type": "integer"
},
"app_name": {
"type": "keyword"
},
"app_proto": {
"type": "keyword"
},
"cloud_policyid": {
"type": "keyword"
},
"community_id": {
"type": "keyword"
},
"conn_uuid": {
"type": "keyword"
},
"device": {
"properties": {
"category": {
"type": "keyword"
},
"id": {
"type": "keyword"
},
"name": {
"type": "keyword"
},
"os": {
"type": "keyword"
},
"osver": {
"type": "keyword"
},
"vendor": {
"type": "keyword"
}
}
},
"direction": {
"type": "keyword"
},
"dst_dir": {
"type": "keyword"
},
"dst_geoip": {
"properties": {
"area": {
"type": "integer"
},
"asn": {
"type": "integer"
},
"city_name": {
"type": "keyword"
},
"continent_code": {
"type": "keyword"
},
"country_code2": {
"type": "keyword"
},
"country_code3": {
"type": "keyword"
},
"country_name": {
"type": "keyword"
},
"dma_code": {
"type": "integer"
},
"latitude": {
"type": "float"
},
"location": {
"type": "geo_point"
},
"longitude": {
"type": "float"
},
"metro": {
"type": "integer"
},
"postal_code": {
"type": "keyword"
},
"region_code": {
"type": "keyword"
},
"region_name": {
"type": "keyword"
},
"timezone": {
"type": "keyword"
}
}
},
"dst_hostname": {
"type": "keyword"
},
"dst_hwaddr": {
"type": "keyword"
},
"dst_nbytes": {
"type": "long"
},
"dst_npackets": {
"type": "integer"
},
"dst_pbytes": {
"type": "long"
},
"dst_tcp_flags": {
"type": "keyword"
},
"dst_username": {
"type": "keyword"
},
"encryption": {
"type": "keyword"
},
"end_time": {
"type": "date",
"format": "epoch_millis"
},
"handshake_result": {
"type": "keyword"
},
"input": {
"type": "integer"
},
"interface": {
"type": "keyword"
},
"ip_dst_port": {
"type": "integer"
},
"ip_dst_saddr": {
"type": "ip"
},
"ip_src_port": {
"type": "integer"
},
"ip_src_saddr": {
"type": "ip"
},
"is_blocked": {
"type": "integer"
},
"is_local": {
"type": "integer"
},
"output": {
"type": "integer"
},
"policyid": {
"type": "keyword"
},
"security_tags": {
"type": "keyword"
},
"src_dir": {
"type": "keyword"
},
"src_geoip": {
"properties": {
"area": {
"type": "integer"
},
"asn": {
"type": "integer"
},
"city_name": {
"type": "keyword"
},
"continent_code": {
"type": "keyword"
},
"country_code2": {
"type": "keyword"
},
"country_code3": {
"type": "keyword"
},
"country_name": {
"type": "keyword"
},
"dma_code": {
"type": "integer"
},
"latitude": {
"type": "float"
},
"location": {
"type": "geo_point"
},
"longitude": {
"type": "float"
},
"metro": {
"type": "integer"
},
"postal_code": {
"type": "keyword"
},
"region_code": {
"type": "keyword"
},
"region_name": {
"type": "keyword"
},
"timezone": {
"type": "keyword"
}
}
},
"src_hostname": {
"type": "keyword"
},
"src_hwaddr": {
"type": "keyword"
},
"src_nbytes": {
"type": "long"
},
"src_npackets": {
"type": "integer"
},
"src_pbytes": {
"type": "long"
},
"src_tcp_flags": {
"type": "keyword"
},
"src_username": {
"type": "keyword"
},
"start_time": {
"type": "date",
"format": "epoch_millis"
},
"tags": {
"type": "keyword"
},
"transport_proto": {
"type": "keyword"
},
"vlanid": {
"type": "keyword"
},
"web_actions": {
"type": "keyword"
},
"web_actions_description": {
"type": "keyword"
}
}
},
"aliases": {}
}
}
Thank you!