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

Adding yaml version of config #1447

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
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
18 changes: 18 additions & 0 deletions pipeline/inputs/windows-event-log-winevtlog.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ Note that if you do not set _db_, the plugin will tail channels on each startup.

Here is a minimum configuration example.

{% tabs %}
{% tab title="fluent-bit.conf" %}
```python
[INPUT]
Name winevtlog
Expand All @@ -38,6 +40,22 @@ Here is a minimum configuration example.
Name stdout
Match *
```
{% endtab %}

{% tab title="fluent-bit.yaml" %}
```yaml
pipeline:
inputs:
- name: winevtlog
channels: Setup,Windows PowerShell
interval_sec: 1
db: winevtlog.sqllite
outputs:
- name: stdout
match: '*'
```
{% endtab %}
{% endtabs %}

Note that some Windows Event Log channels \(like `Security`\) requires an admin privilege for reading. In this case, you need to run fluent-bit as an administrator.

Expand Down