In reference to https://www.elastic.co/guide/en/marvel/2.3/configuration.html, we have following marvel.agent.exporters
config to change the time format suffix for marvel indices
index:
name:
time_format: <string> # time format suffix for marvel indices (default: "YYYY.MM.dd")
But, what if I also wish to change the name of index or add a prefix. The default name is something like marvel-es-YYYY.MM.dd
. Isn't there any way to change [marvel-es] to something else or add a prefix to it like x-marvel-es-YYYY.MM.dd
?
I have a single ES node and multiple marvel agents (say x,y,z) pushing to the same ES node. This I wish to have separate index name suffix for each agent. X, Y and Z each will be monitoring different set of ES indices. So, I wish to achieve index naming convention like
X => X-marvel-es-YYYY.MM.dd
Y => Y-marvel-es-YYYY.MM.dd
Z => Z-marvel-es-YYYY.MM.dd