Skip to content

Commit bcb650d

Browse files
authored
Merge branch 'master' into remove_stale_counters
Signed-off-by: Paweł Cendrzak <[email protected]>
2 parents 52cbaf0 + 817dcca commit bcb650d

File tree

248 files changed

+11008
-3106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

248 files changed

+11008
-3106
lines changed

.gitbook.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ redirects:
2121
input/netif: ./pipeline/inputs/network-io-metrics.md
2222
input/proc: ./pipeline/inputs/process.md
2323
input/random: ./pipeline/inputs/random.md
24+
input/splunk: ./pipeline/inputs/splunk.md
2425
input/serial: ./pipeline/inputs/serial-interface.md
2526
#inputs/statsd: ./pipeline/inputs/
2627
input/stdin: ./pipeline/inputs/standard-input.md
@@ -29,6 +30,7 @@ redirects:
2930
input/tail: ./pipeline/inputs/tail.md
3031
input/tcp: ./pipeline/inputs/tcp.md
3132
input/thermal: ./pipeline/inputs/thermal.md
33+
input/udp: ./pipeline/inputs/udp.md
3234
input/winlog: ./pipeline/inputs/windows-event-log.md
3335
input/winevtlog: ./pipeline/inputs/windows-event-log-winevtlog.md
3436

@@ -51,9 +53,11 @@ redirects:
5153
output/azure_kusto: ./pipeline/outputs/azure_kusto.md
5254
output/bigquery: ./pipeline/outputs/bigquery.md
5355
output/counter: ./pipeline/outputs/counter.md
56+
output/chronicle: ./pipeline/outputs/chronicle.md
5457
output/cloudwatch: ./pipeline/outputs/cloudwatch.md
5558
output/datadog: ./pipeline/outputs/datadog.md
5659
output/es: ./pipeline/outputs/elasticsearch.md
60+
output/fabric: ./pipeline/outputs/azure_kusto.md
5761
output/file: ./pipeline/outputs/file.md
5862
output/firehose: ./pipeline/outputs/firehose.md
5963
output/flowcounter: ./pipeline/outputs/flowcounter.md
@@ -73,3 +77,6 @@ redirects:
7377
output/stdout: ./pipeline/outputs/standard-output.md
7478
output/tcp: ./pipeline/outputs/tcp-and-tls.md
7579
output/td: ./pipeline/outputs/treasure-data.md
80+
81+
# Processors
82+
processor/metrics_selector: ./pipeline/processors/metrics_selector.md

.gitbook/assets/3.0.png

139 KB
Loading

.gitbook/assets/3.1.png

1.29 MB
Loading

.gitbook/assets/3.2.png

4.29 MB
Loading

.gitbook/assets/4.0.png

1.49 MB
Loading
Loading

.gitbook/assets/image (1).png

1.09 MB
Loading

.gitbook/assets/image.png

276 KB
Loading
6.22 MB
Loading

.gitbook/includes/untitled.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
title: Untitled
3+
---
4+
5+
{% embed url="https://o11y-workshops.gitlab.io/workshop-fluentbit/lab01.html" fullWidth="false" %}
6+
Lab 1 - Introduction to Fluent Bit
7+
{% endembed %}

.github/workflows/cron-stale.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
issues: write
1212
pull-requests: write
1313
steps:
14-
- uses: actions/stale@v8
14+
- uses: actions/stale@v9
1515
with:
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}
1717
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the `exempt-stale` label.'

.github/workflows/pr-lint.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
name: PR - Actionlint
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
- run: |
1313
echo "::add-matcher::.github/actionlint-matcher.json"
1414
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
@@ -19,5 +19,5 @@ jobs:
1919
runs-on: ubuntu-latest
2020
name: PR - Shellcheck
2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- uses: ludeeus/action-shellcheck@master

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ _book/*
22
node_modules/*
33
.gitignore
44
old/*
5-
5+
.DS_Store

.vale.ini

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
StylesPath = vale-styles
2+
MinAlertLevel = suggestion # suggestion, warning or error
3+
IgnoredScopes = tt, code
4+
5+
[formats]
6+
mdx = md
7+
8+
[*.{md,markdown,txt,htm,html}]
9+
BasedOnStyles = FluentBit
10+
11+
FluentBit.Terms = YES
12+
FluentBit.Titles = YES
13+
FluentBit.FutureTense = NO
14+
FluentBit.Headings = NO
15+
FluentBit.Passive = NO
16+
FluentBit.Subjunctive = NO
17+
FluentBit.Colons = NO

CODEOWNERS

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* @fluent/fluent-bit-maintainers @fluent/chronosphere-tech-writers

CONTRIBUTING.md

+96-46
Original file line numberDiff line numberDiff line change
@@ -1,76 +1,126 @@
1-
# Fluent Bit Documentation
2-
3-
First of all, thanks for taking the time to read this document. It means you are interested in contributing, and we highly appreciate the time you are investing.
4-
5-
## Introduction
6-
7-
[Fluent Bit Documentation](https://docs.fluentbit.io) source code lives in a separate repository called [fluent/fluent-bit-docs](https://github.com/fluent/fluent-bit-docs) on Github. The reason of this separate repository is to avoid extra commits on Fluent Bit source code project history that leads to more complexity when maintaining the core project: yes, we read the commit history every single day, and usually, we maintain separate branches and this separation simplify the process for us.
1+
# Contributing to Fluent Bit docs
2+
3+
First of all, thanks for taking the time to read this guide. The fact that you're
4+
here means you're interested in contributing to Fluent Bit, and we highly appreciate
5+
your time.
6+
7+
This repository contains the files for the
8+
[Fluent Bit documentation library](https://docs.fluentbit.io/). Keeping these docs
9+
separate from the [main Fluent Bit repository](https://github.com/fluent/fluent-bit)
10+
helps reduce the number of commits to the Fluent Bit source code and makes it
11+
easier to maintain both projects.
12+
13+
Fluent Bit has a group of dedicated maintainers who oversee this repository,
14+
including several technical writers. These writers will review any pull requests
15+
you open, so don't be afraid to contribute—even if you're not a writer by trade.
16+
Your suggestions are valuable, and we'll help you wrangle any stray commas.
17+
18+
## GitBook
19+
20+
The Fluent Bit docs library is built and hosted through
21+
[GitBook](https://docs.gitbook.com/). Unfortunately, GitBook doesn't support
22+
local previews for contributors, but a Fluent Bit maintainer with a dedicated GitBook
23+
account can verify that things are formatted correctly after you open a new pull
24+
request.
25+
26+
Each `.md` file in this repository is a single page. You can use
27+
[standard Markdown syntax](https://docs.gitbook.com/content-editor/editing-content/markdown)
28+
to edit existing pages, or create a new `.md` file to add an additional page to
29+
the docs library. If you create a new page, you'll also need to update
30+
[GitBook's `SUMMARY.md` file](https://docs.gitbook.com/integrations/git-sync/content-configuration#structure)
31+
(or ask a maintainer to update it for you).
832

933
## Workflow
1034

11-
All documentation contributions arrives as Pull Requests (PR) on Github in the repository [fluent/fluent-bit-docs](https://github.com/fluent/fluent-bit-docs). Then some of the maintainers of Fluent Bit will review it, triage it, add comments if needed, or merge it.
35+
After you open a pull request in this repository, a Fluent Bit maintainer will review
36+
it, triage it, add comments or suggestions as needed, and then merge it. After
37+
your changes are successfully merged into `master`, the docs site will update
38+
within a few minutes.
1239

13-
Once a PR is merged, a third-party service called [Gitbook](https://gitbook.com) will receive a notification and will grab the latest changes, render a new site and update the content of [docs.fluentbit.io](https://docs.fluentbit.io).
40+
### Stale pull requests
1441

15-
## Source Code Structure
42+
If you open a pull request that requires ongoing discussion or review, the
43+
Fluent Bit maintainers will add a [`waiting-for-user` tag](#tags) to your pull
44+
request. This tag means that we're blocked from moving forward until you reply.
45+
To keep contributions from going stale, we'll wait 45 days for your response,
46+
but we may close the pull request if we don't hear back from you by then.
1647

17-
Documentation source code structure depends on Fluent Bit source code structure and its versions. In Fluent Bit source code, we have a stable branch and a development branch; as of now, these are:
48+
## Submit a contribution
1849

19-
- stable branch: [1.8](https://github.com/fluent/fluent-bit/tree/1.8)
20-
- development branch: [master](https://github.com/fluent/fluent-bit/tree/master)
50+
When you open a pull request, make your changes against `master`, which is the
51+
active development branch. If your contribution also applies to the latest
52+
stable version, submit another PR for that versioned branch. However, if
53+
submitting multiple PRs at the same time adds too much complexity, you can instead
54+
create a single PR against `master` and specify that your changes need to be
55+
**backported** to other branches; one of our maintainers will take care of that
56+
process on your behalf.
2157

22-
For Documentation, we follow the same pattern; we have branches for the stable and development versions.
58+
All contributions must be made **first** against [master branch](https://github.com/fluent/fluent-bit-docs/tree/master) which is the active development branch, and then **if** the contribution also applies for the current stable branch, submit another PR for that specific branch, if submitting another PR adds some complexity, please specify in the first PR as a comment (for master branch) that it needs to be *backported*. One of our maintainers will take care of that process.
2359

24-
## Submitting Contributions
60+
As a contributor, we'll ask you to follow a few best practices related to Git:
2561

26-
All contributions must be made **first** against [master branch](https://github.com/fluent/fluent-bit-docs/tree/master) which is the active development branch, and then **if** the contribution also applies for the current stable branch, submit another PR for that specific branch, if submitting another PR adds some complexity, please specify in the first PR as a comment (for master branch) that it needs to be *backported*. One of our maintainers will take care of that process.
62+
### One file per commit
2763

28-
### GIT email check
64+
Each commit you make should only modify one file or interface—we follow the same
65+
practice in the Fluent Bit source code.
2966

30-
Most of the time GIT is not fully configured in your environment, and when cloning the repository and committing changes, the user email might not be set. Make sure your email is properly configured. You can check your current setting with:
67+
### Commit subjects
3168

32-
```bash
33-
cd fluent-bit-docs/
34-
git config user.email
35-
```
36-
37-
If you need to adjust your email, do this:
38-
39-
```
40-
git config user.email [email protected]
41-
```
69+
Use descriptive commit subjects that describe which file or interface you're
70+
modifying.
4271

43-
### Commit Subjects
72+
For example, if you're modifying the Syslog output plugin doc, whose file is
73+
located at [pipeline/outputs/syslog.md](https://github.com/fluent/fluent-bit-docs/blob/master/pipeline/outputs/syslog.md), this would be a descriptive commit subject:
4474

45-
The subject must be representative enough to describe which `file` or `interface` is modifying when committing your changes. An everyday use case or example is:
75+
`pipeline: outputs: syslog: fix grammar in examples`
4676

47-
- User is enhancing the documentation for the Syslog output plugin
77+
Since this commit is prefixed with the relevant file path, it helps our maintainers
78+
understand and prioritize your contribution.
4879

49-
Considering that Syslog output plugin documentation resides in this address:
80+
### Set your email in Git
5081

51-
- [pipeline/outputs/syslog.md](https://github.com/fluent/fluent-bit-docs/blob/master/pipeline/outputs/syslog.md)
82+
Make sure your email address is configured in your local Git environment. This
83+
should be the same email address associated with your GitHub account.
5284

53-
the suggested commit will be:
85+
For more information, refer to GitHub's guide to
86+
[setting your commit email address in Git](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-email-preferences/setting-your-commit-email-address#setting-your-commit-email-address-in-git).
5487

55-
```
56-
pipeline: outputs: syslog: fix grammar in examples
57-
```
88+
### Sign off your commits
5889

59-
As you can see, the commit is prefixed with the paths of the file being modified. For maintainers, this helps to understand and prioritize the review of the contributions.
90+
You must sign off your commits to certify your identity as the commit author. If
91+
you don't sign off your commits, our CI system will flag the pull request with a
92+
[DCO](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md)
93+
error and prevent your pull request from merging.
6094

61-
Usually, a PR can have multiple commits, but we enforce that every commit only touches one file or interface (we apply the same practice in Fluent Bit source code).
95+
To prevent DCO errors, refer to the following guide about
96+
[signing your commits properly](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md).
6297

63-
### Sign off your commits
98+
> :bulb: For faster signing, you can use the `-s` flag in Git:
99+
>
100+
> `git commit -a -s -m "pipeline: outputs: syslog: fix grammar in examples"`
101+
>
102+
> If you're using VSCode, you can also enable the
103+
> [**Git: Always Sign Off**](https://github.com/microsoft/vscode/issues/83096#issuecomment-545350047)
104+
> setting, which automatically appends a `Signed-off-by:` message to your commits.
64105
65-
Your commits must be **sign off**; this certifies who is the author of the commit. It might sound a bit redundant, but it is needed. If you don't sign-off your commits, our CI system will flag the PR with a [DCO](https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md) error and the PR will be blocked.
106+
## Style guidelines
66107

67-
The following link explains how to fix DCO error by signing your commits properly:
108+
The Fluent Bit maintainers refer to the
109+
[Google developer documentation style guide](https://developers.google.com/style)
110+
for most topics related to grammar, style, and formatting. We don't expect you
111+
to memorize these style rules, but the technical writer who reviews your pull
112+
request may suggest changes accordingly.
68113

69-
- https://github.com/src-d/guide/blob/master/developer-community/fix-DCO.md
114+
### URLs
70115

71-
For short: always use `-s` when committing your changes, e.g.:
116+
When cross-linking to a page in this repository, use a full relative path whenever
117+
possible. For example:
72118

119+
```text
120+
[LTSV](pipeline/parsers/ltsv.md) and [Logfmt](pipeline/parsers/logfmt.md)
73121
```
74-
git commit -a -s -m "pipeline: outputs: syslog: fix grammar in examples"
75-
```
76122

123+
### Vale
124+
125+
The Fluent Bit maintainers use the [Vale](https://vale.sh/docs/) plugin, which lints
126+
pull requests and adds suggestions to improve style and clarity.

MAINTAINERS.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
Fluent Bit is developed and supported by many individuals and companies. The following table list the names of maintainers per components and the company supporting their work.
44

5-
| Maintainer Name | Documentation portion | Company |
6-
| :---------------------------------------------------- | ------------------------ | ------------------------------------------------- |
7-
| [Eduardo Silva](https://github.com/edsiper) | All | [Arm Treasure Data](https://www.treasuredata.com) |
8-
| [Anurag Gupta](https://github.com/agup006) | All | [Calyptia](https://Calyptia.com) |
5+
| Maintainer Name | Documentation portion | Company |
6+
| :---------------------------------------------------- | ------------------------ | ------------------------------------------------- |
7+
| [Eduardo Silva](https://github.com/edsiper) | All | [Chronosphere](https://chronosphere.io) |
8+
| [Anurag Gupta](https://github.com/agup006) | All | [Chronosphere](https://chronosphere.io) |
9+
| [Jose Lecaros](https://github.com/lecaros) | All | [Chronosphere](https://chronosphere.io) |
10+
| [Lynette Miles](https://github.com/esmerel) | All | [Chronosphere](https://chronosphere.io) |
11+
| [Alexa Kreizinger](https://github.com/alexakreizinger) | All | [Chronosphere](https://chronosphere.io) |

0 commit comments

Comments
 (0)