nProbe Index for elasticsearch 7.0

Hi,

I am trying to create a template for nprobe but my template code is old and needs some changed w.r.t to 7.0.

{
"template" : "nprobe-",
"settings" : {
"index.refresh_interval" : "5s"
},
"mappings" : {
"default" : {
"_all" : {"enabled" : true, "omit_norms" : true},
"dynamic_templates" : [ {
"string_fields" : {
"match" : "
",
"match_mapping_type" : "string",
"mapping" : {
"type" : "string", "index" : "analyzed", "omit_norms" : true,
"fields" : {
"raw" : {"type": "string", "index" : "not_analyzed", "ignore_above" : 256}
}
}
}
}, {
"geo_fields" : {
"match" : "IP_LOCATION",
"mapping": {
"type": "geo_point"
}
}
}, {
"ip_fields" : {
"match" : "IPV4
",
"match_mapping_type" : "string",
"mapping": {
"type": "ip"
}
}
} ],
"properties" : {
"@version": { "type": "string", "index": "not_analyzed" }
}
}
}
}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.