-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to specify an index #421
Comments
I think it's the same enhancement as in #242, but for |
I would also find this feature extremely useful! |
Can fluent-bit even do |
Not quite the same thing, but might work... This also separates your log shipping from your log processing so you can scale each out separately. (If you try this soon, please let me know if it works for you. I haven't tried it yet and am curious if it works) |
👍 |
Ok this feature looks like it landed in master when i look at the code https://github.com/fluent/fluent-bit/blob/master/plugins/out_es/es.c#L265 |
Hi guys, |
Elasticsearch output plugin has been updated for logstash_prefix_key option. Changes:
|
@edsiper What version? |
It will be part of Fluent Bit v1.7 release (1 or 2 weeks from now) |
Please see Make Logstash_Prefix_Key more dynamic #3624 I hope that this functionality will be implemented in the near future. |
with fluent-bit 1.8 Logstash_Prefix_Key $kubernetes['namespace_name'] Using the above configuration, in the es can be normal index according to the namespace |
shall we have any way to separate logs b/w indexes without doing any change in fluentbit:-configmap(input)?? |
In a kubernetes cluster it would be useful if fluent-bit were to specify an index with log requests. In a fluentd configuration we would have the following:
I'm not sure but the the appropriate configuration setting might actually be
target_index
rather thanlogstash_prefix
.The desired end result is that logs are shipped with
_index
including the name of the kubernetes namespace.It would be great if fluent-bit allowed configuring this.
The text was updated successfully, but these errors were encountered: