Creating Custom elasticsearch templates


#1

Hi all,
i am trying to create custom elasticsearch template.
after i create a template and update it in .conf am not getting any output.
My template is:

my conf file is:

is this the correct way to do it? or am doing anything wrong? Please help me with my errors.


(Magnus Bäck) #2

Your index is named data2 but your template matches data-*.


#3

thanks for ur reply magnus.
even though i changed it..i am not getting any output
i am getting this in my cmd


(Magnus Bäck) #4

even though i changed it..i am not getting any output

Output from what?

i am getting this in my cmd

If you delete your existing index and let Logstash create a new one, is your index template applied as expected?


#5

Hi
i am creating new new index for logstash.

the output I mentioned is the output I get when I run my config file in command prompt.


(Magnus Bäck) #6

What's the name of the index you're creating? Does it have the correct mappings?


(system) #7

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