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

fluent-bit: fix command line parsing with new config format API. #6239

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

pwhelan
Copy link
Contributor

@pwhelan pwhelan commented Oct 19, 2022

Minor bug fix to update the usage of the new config format API from the command line.


Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • [N/A] Example configuration file for the change
  • Debug log output from testing the change
  • [N/A] Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

Documentation

  • [N/A] Documentation required for this feature

Backporting

  • [N/A] Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

@pwhelan
Copy link
Contributor Author

pwhelan commented Oct 19, 2022

./build/bin/fluent-bit -i http \
           -p port=9999 \
           -p tls=off \
           -p tls.verify=off \
           -o stdout \
           -m '*'
Fluent Bit v2.0.0
* Copyright (C) 2015-2022 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io

[2022/10/19 11:36:51] [ info] [fluent bit] version=2.0.0, commit=19690076e6, pid=44202
[2022/10/19 11:36:51] [ info] [storage] ver=1.3.0, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2022/10/19 11:36:51] [ info] [cmetrics] version=0.5.2
[2022/10/19 11:36:51] [ info] [input:http:http.0] initializing
[2022/10/19 11:36:51] [ info] [input:http:http.0] storage_strategy='memory' (memory only)
[2022/10/19 11:36:51] [ info] [sp] stream processor started
[2022/10/19 11:36:51] [ info] [output:stdout:stdout.0] worker #0 started
^C[2022/10/19 11:36:59] [engine] caught signal (SIGINT)
[2022/10/19 11:36:59] [ warn] [engine] service will shutdown in max 5 seconds
[2022/10/19 11:37:00] [ info] [engine] service has stopped (0 pending tasks)
[2022/10/19 11:37:00] [ info] [output:stdout:stdout.0] thread worker #0 stopping...
[2022/10/19 11:37:00] [ info] [output:stdout:stdout.0] thread worker #0 stopped

@pwhelan pwhelan temporarily deployed to pr October 19, 2022 14:39 Inactive
@pwhelan pwhelan temporarily deployed to pr October 19, 2022 14:39 Inactive
@pwhelan pwhelan temporarily deployed to pr October 19, 2022 14:56 Inactive
@edsiper edsiper merged commit 0d6899e into master Oct 21, 2022
@edsiper edsiper deleted the fix-cmd-line-options-2.0 branch October 21, 2022 03:30
mgeriesa pushed a commit to mgeriesa/fluent-bit that referenced this pull request Oct 25, 2022
sumitd2 pushed a commit to sumitd2/fluent-bit that referenced this pull request Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants