Packetbeat Index Template Error
Posted: Mon Nov 22, 2021 11:21 am
Packetbeat v7.15.2 is installed on a server and is shipping data to NLS v2.1.9 via Logstash. The only issue I seem to be having is getting the Packetbeat Index Template to load correctly in ES. The following curl command is attempting to load the index template with the template file "packetbeat.template.json" - which I've attached in case that is useful (had to add .txt ending to allow attachment). Seems like the more modern Packetbeat index template is not compatible with the ES version running under the hood of NLS v2.1.9.
Code: Select all
[user@nls1 ~]$ curl -XPUT -H 'Content-Type: application/json' http://localhost:9200/_template/packetbeat-7.15.2?pretty=true [email protected]
{
"error" : "ElasticsearchIllegalArgumentException[Malformed mappings section for type [date_detection], should include an inner object describing the mapping]",
"status" : 400
}