Skip to content
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

Support configurable locales per Source/Stream #20624

Open
waab76 opened this issue Oct 2, 2024 · 1 comment
Open

Support configurable locales per Source/Stream #20624

waab76 opened this issue Oct 2, 2024 · 1 comment

Comments

@waab76
Copy link
Contributor

waab76 commented Oct 2, 2024

What?

Provide functionality that allows users to configure the locale for a given Source or Stream. This locale should then be usable in processing pipelines in order to avoid errors while parsing dates.

Why?

Graylog sometimes runs in mixed-locale environments where logs from one source are localized in one language while logs from another source are localized in a different language. While the parse_date pipeline function supports a locale parameter, there is no way to construct a single pipeline that calls parse_date and functions correctly when applied to Streams with differing locales. The problem becomes especially pronounced when considering Illuminate processing, where customers do not even have the option to update the pipeline and provide a locale parameter to the parse_date function.

@bernd
Copy link
Member

bernd commented Nov 25, 2024

Configuring a locale on a stream doesn't make sense because streams can contain messages from different sources.

We probably need a new log source concept where we can configure a locale.

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

No branches or pull requests

3 participants