Elasticsearch 6 beta 1 - correct way to create a default template


(Randude) #1

Hi,
So in the new docs I see that the default (with underscores before and after) mapping is deprecated or at least it should be since there can be only one doc type anyways.

However, when I done define a logstash template to use when sending outputs to elasticsearch, I see it installs a default template under logstash-*. It uses the default setting:

"mappings": {
"default": {
"dynamic_templates": [
{...

So, what is the correct syntax to define a custom template?


(system) #2

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