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

[Bug]: Extra fields in Filebeat inputs not working #296

Closed
1 task done
widhalmt opened this issue Jan 2, 2024 · 1 comment · Fixed by #297
Closed
1 task done

[Bug]: Extra fields in Filebeat inputs not working #296

widhalmt opened this issue Jan 2, 2024 · 1 comment · Fixed by #297
Assignees
Labels
bug Something isn't working
Milestone

Comments

@widhalmt
Copy link
Member

widhalmt commented Jan 2, 2024

Please try to fill out as much of the information below as you can. Thank you!

  • Yes, I've searched similar issues on GitHub and didn't find any.

Which version contains the bug?

No response

Describe the bug

When using die fields setting in filebeat_log_inputs you don't get the whole line in fields within filebeat.yml. Only the field name but not the value.

Thanks, @tbumke for reporting this bug.

How to recreate the bug?

Use variables like this:

filebeat_log_inputs:
  messages:
    name: messages
    paths:
      - /var/log/messages
    fields:
      index_suffix: system

The value system will not be written to filebeat.yml.

@widhalmt widhalmt added bug Something isn't working needs-triage Needs to be triaged labels Jan 2, 2024
@widhalmt widhalmt added this to the 1.0.0 milestone Jan 2, 2024
@widhalmt widhalmt self-assigned this Jan 2, 2024
@widhalmt widhalmt removed the needs-triage Needs to be triaged label Jan 2, 2024
@widhalmt
Copy link
Member Author

widhalmt commented Jan 2, 2024

I just saw, that the variable still uses the old naming scheme. I will test this with the new one and come back with the results.

widhalmt added a commit that referenced this issue Jan 15, 2024
github-merge-queue bot pushed a commit that referenced this issue Jan 17, 2024
fixes #296

---------

Co-authored-by: Tobias Bauriedel <tobias.bauriedel@netways.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant