I have metricbeat installed/set up. I wanted my own index name so i put the below in metricbeat.yml file
this gave me an error stating that when i want to use my own index, i need to mention the
setup.template.name and setup.template.pattern
i put the below
setup.template.name: "adm_jkafka" setup.template.pattern: "*jkafka*"
I dont have a template with this name.
when i start metricbeat it is throwing the below error
ERROR [publisher_pipeline_output] pipeline/output.go:154 Failed to connect to backoff(elasticsearch(http://****:9200)): Connection marked as failed because the onConnect callback failed: resource 'metricbeat-7.10.0' exists, but it is not an alias
this looks like is trying to use the default template becuase i havent defined one.
How do i define a template called adm_jkafka with the same fields as metricbeat since this is going to be metricbeat.
should i be creating an alias called adm_jkafka pointing to metricbeat-7.10.0 if i do create an alias what should be the setup.template.pattern field set to?