Template file with environment variables?

(B Deus) #1

i use lots of beat and logstash in docker and i'm wonder if there are any possibilities to use some environments variables in a template index file.
Modify index template pattern with an environment variable would be useful.

(Ryan Ernst) #2

It is not possible. That would mean the template behavior is dependent on which node the template runs on.

(B Deus) #3

Ok i understand.
So i will keep my sed command at container runtime :slight_smile:

(system) #4

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