You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
output:
elasticsearch:
hosts: ["localhost:9200"]
# A template is used to set the mapping in Elasticsearch
# By default template loading is disabled and no template is loaded.
# These settings can be adjusted to load your own template or overwrite existing ones
template:
# Template name. By default the template name is topbeat.
#name: "topbeat"
# Path to template file
path: "topbeat.template.json"
# Overwrite existing template
#overwrite: false
But you must uncomment name: topbeat to enable loading because the code checks that name is not empty.
output:
elasticsearch:
hosts: ["localhost:9200"]
# A template is used to set the mapping in Elasticsearch
# By default template loading is disabled and no template is loaded.
# These settings can be adjusted to load your own template or overwrite existing ones
template:
# Template name. By default the template name is topbeat.
name: "topbeat"
# Path to template file
path: "topbeat.template.json"
# Overwrite existing template
#overwrite: false
The comment "By default the template name is topbeat" is wrong since the default value is actually an empty string.
The text was updated successfully, but these errors were encountered:
The documentation recommends:
But you must uncomment
name: topbeat
to enable loading because the code checks that name is not empty.The comment "By default the template name is topbeat" is wrong since the default value is actually an empty string.
The text was updated successfully, but these errors were encountered: