Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

Filter kubernetes_sumologic not found #4

Closed
jaygorrell opened this issue Jan 28, 2017 · 3 comments
Closed

Filter kubernetes_sumologic not found #4

jaygorrell opened this issue Jan 28, 2017 · 3 comments

Comments

@jaygorrell
Copy link

I believe either the plugin registration name needs changed to kubernetes_sumologic_containers or the file needs changed to filter_kubernetes_sumologic.rb. I'm curious why others didn't experience this though so perhaps it's something environmental.

@stevezau
Copy link
Contributor

Hey @jaygorrell

That's weird, where are seeing this?

@jaygorrell
Copy link
Author

I'm just updating things from the old repo and kept getting a startup error/crash from Fluentd stating that the kubernetes_sumologic filter doesn't exist.

Plugin registration in filter_kubernetes_sumologic_containers.rb:
Fluent::Plugin.register_filter('kubernetes_sumologic', self)

I was able to fix this by renaming the file to filter_kubernetes_sumologic... is this not a standard Fluent requirement?

@stevezau
Copy link
Contributor

I've renamed it to filter_kubernetes_sumologic but the plugin name is kubernetes_sumologic which is standard reading http://docs.fluentd.org/v0.12/articles/plugin-development

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants