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

Filebeat: retain original type of fields added in configuration #1534

Closed
robin13 opened this issue Apr 29, 2016 · 3 comments
Closed

Filebeat: retain original type of fields added in configuration #1534

robin13 opened this issue Apr 29, 2016 · 3 comments

Comments

@robin13
Copy link
Contributor

robin13 commented Apr 29, 2016

If you add a field in the prospector section of filebeat configuration

      fields:
        widget_number: 10

This will be added to each document as:

"widget_number":"10"

but it would be better if numbers were not cast as string, and would remain:

"widget_number":10
@robin13 robin13 added the Filebeat Filebeat label Apr 29, 2016
@DirkAmelinckx
Copy link

+1

@ruflin ruflin added enhancement libbeat and removed Filebeat Filebeat labels May 2, 2016
@ruflin
Copy link
Contributor

ruflin commented May 2, 2016

I assigned the libbeat label here as this would be a general improvement to the way fields are handled.

@andrewkroh
Copy link
Member

This is the behavior in v5. Changed in #1092

From the 5.0 changelog:

  • Scalar values in used in the fields configuration setting are no longer automatically converted to strings. {pull}1092[1092]

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

4 participants