Skip to content

document Backoff_Base and Backoff_Cap #435

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

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
bb7b592
GitBook: [master] 135 pages modified
edsiper Oct 9, 2020
563a004
GitBook: [master] no pages and one asset modified
edsiper Oct 9, 2020
386f919
installation: update upgrade notes
edsiper Oct 9, 2020
e3b67c5
input: tail: document new db.locking option
edsiper Oct 9, 2020
1a2dcc2
filter: lua: document 'time_as_table'
edsiper Oct 9, 2020
faef444
administration: update buffering and storage
edsiper Oct 12, 2020
a408aeb
output: kafka: document 'queue_full_retries' option
edsiper Oct 12, 2020
b4724df
output: slack: document slack connector
edsiper Oct 12, 2020
080a3be
output: document 'loki' plugin
edsiper Oct 15, 2020
4b3ad1e
pipeline: filters: rewrite-tag: clarify emitted records restart pipel…
briend Nov 6, 2020
daf2b0d
Doc for setting up http proxy via `HTTP_PROXY` (#414)
erain Nov 6, 2020
29125bd
out_s3: fix reliability section, add use_put_object (#412)
PettitWesley Nov 6, 2020
8d43b50
network: Add information about `net.keepalive_max_recycle` (#408)
worr Nov 6, 2020
36bf8d2
output: loki: document new options line_format, http_user, http_passw…
edsiper Nov 22, 2020
73f432f
Merge branch 'master' of github.com:fluent/fluent-bit-docs
edsiper Nov 22, 2020
e09a871
configuration: allowed log level is warn and not warning (#342)
LionelCons Nov 24, 2020
7bdc708
administration: monitoring: add note on Windows support (#405)
fujimotos Nov 27, 2020
3a18c5c
pipeline: output: forward: document compress option (#417)
jim-minter Nov 27, 2020
0187092
input: tail: clarify multiline parser requirement (#340)
DavidWittman Nov 27, 2020
e754358
output: es: improve wording (#332)
angristan Nov 27, 2020
58bda48
Fix broken links about outputs section (#299)
nokute78 Nov 27, 2020
bf3f7ed
installation: windows: Document how to compile from source code (#352)
fujimotos Nov 27, 2020
c5077df
core: logs by default seem to go to standard error (#312)
davide-bolcioni Nov 27, 2020
b5f7e02
toc: add docker input plugin docs (#317)
championshuttler Nov 27, 2020
6e8d8bd
Add note on CRI for kubernetes configmap (#318)
egernst Nov 27, 2020
55c9ab7
input: forward: fix the docs for forward input plugin (#344)
championshuttler Nov 27, 2020
d891b30
Fix the link to the stream processor image (#345)
championshuttler Nov 27, 2020
d56f016
input: tail: Added missing documentation for exit_on_eof option (#347)
sxd Nov 27, 2020
0425d1b
output: es: Add Trace_Error (#418)
DavidWittman Nov 27, 2020
e26c421
input: tail: fix default value of Buffer_Max_Size (#407)
l2dy Nov 27, 2020
2bfe91d
Typo/spelling fixes (#400)
thezackm Nov 27, 2020
83a48c3
build: document FLB_TLS as on by default. (#403)
jkschulz Nov 27, 2020
a3c6b7b
input: tail: document read_from_header
edsiper Dec 3, 2020
746c4a3
Merge branch 'master' of github.com:fluent/fluent-bit-docs
edsiper Dec 3, 2020
a448d85
document Backoff_Base and Backoff_Cap
abiliojr Dec 16, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Doc for setting up http proxy via HTTP_PROXY (#414)
Signed-off-by: Yu Yi <[email protected]>
erain authored Nov 6, 2020

Verified

This commit was signed with the committer’s verified signature.
snyk-bot Snyk bot
commit daf2b0ddbc312eb2841518e89830b7d1f8f6f83f
14 changes: 14 additions & 0 deletions administration/http-proxy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
description: User a http proxy via HTTP\_PROXY environment variable.
---

# HTTP Proxy

Fluent Bit supports setting up a HTTP proxy for all egress HTTP/HTTPS traffic by setting `HTTP_PROXY` environment variable:

- You can setup `HTTP_PROXY=http://username:[email protected]:port` to use a `username` and `password` when connecting to the proxy.
- You can also setup `HTTP_PROXY=http://your-proxy.com:port` to omit `username` and `password` if there is none.

The `HTTP_PROXY` environment variable is a standard way for setting a HTTP proxy in a containerized environment ([reference](https://docs.docker.com/network/proxy/#use-environment-variables)), and it is also natively supported by any application written in Go. Therefore, we follow and implement the same convention for Fluent Bit.

**Note**: we also have an older way for http proxy support in specific output plugins `output` plugin by its configuration. The configuration continues to work, however it _should not_ be used together with the `HTTP_PROXY` environment variable. This is because: under the hood, the `HTTP_RPOXY` based proxy support is implemented by setting up a TCP connection tunnel via [HTTP CONNECT](https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/CONNECT). Both HTTP and HTTPS egress traffic can work this way. And this is different than the current plugin's implementation.
3 changes: 1 addition & 2 deletions pipeline/outputs/http.md
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ The **http** output plugin allows to flush your records into a HTTP endpoint. Fo
| http\_User | Basic Auth Username | |
| http\_Passwd | Basic Auth Password. Requires HTTP\_User to be set | |
| port | TCP port of the target HTTP Server | 80 |
| Proxy | Specify an HTTP Proxy. The expected format of this value is [http://host:port](http://host:port). Note that _https_ is **not** supported yet. | |
| Proxy | Specify an HTTP Proxy. The expected format of this value is [http://host:port](http://host:port). Note that _https_ is **not** supported yet. Please consider not setting this and use `HTTP_PROXY` environment variable instead, which supports both http and https. | |
| uri | Specify an optional HTTP URI for the target web server, e.g: /something | / |
| compress | Set payload compression mechanism. Option available is 'gzip' | |
| format | Specify the data format to be used in the HTTP request body, by default it uses _msgpack_. Other supported formats are _json_, _json\_stream_ and _json\_lines_ and _gelf_. | msgpack |
@@ -138,4 +138,3 @@ _sourcecategory="my_fluent_bit"
| timeslice 1m
| max(cpu) as cpu group by _timeslice
```