Skip to content

Commit

Permalink
Adding yaml version of config
Browse files Browse the repository at this point in the history
  • Loading branch information
Landon Lengyel committed Aug 27, 2024
1 parent 87f3c92 commit f973418
Showing 1 changed file with 18 additions and 0 deletions.
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

0 comments on commit f973418

Please sign in to comment.