Index rewriting rule
When a request targets one or more index, replace one or more indices with a given replacement.
Example
When Kibana writes a new dashboard object to “.kibana”, retarget the write to “.kibana_user1”.
indices_rewrite: ["(^\\.kibana.*|^logstash.*)", "$1_user1"]
This would unlock multi tenancy using a single instance of Kibana.
So writing to .kibana
would end up writing on .kibana_user1
.
EDIT: it’s not possible to do this because the Kibana daemon has its own set of credentials. Multi tenancy is not possible to be achieved with ES plugin alone. A Kibana plugin is necessary (and on the way).
HOWEVER This rewrite feature is enough for log ingestion, so, here is a better example:
indices_rewrite: ["^logstash.*", "$1_@user"]
All logstash agents that want to write to logstash* may write to logstash-*_someUser
Let’s do this?
- 1
- 2
- 3
- 4
- 5
0 voters