Skip to content

Commit cdeb5f6

Browse files
pipeline: inputs: windows-event-log-winevtlog: Adding yaml version of config (#1447)
Signed-off-by: Landon Lengyel <[email protected]>
1 parent 7661321 commit cdeb5f6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

pipeline/inputs/windows-event-log-winevtlog.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ Note that if you do not set _db_, the plugin will tail channels on each startup.
3333

3434
Here is a minimum configuration example.
3535

36+
{% tabs %}
37+
{% tab title="fluent-bit.conf" %}
3638
```python
3739
[INPUT]
3840
Name winevtlog
@@ -44,6 +46,22 @@ Here is a minimum configuration example.
4446
Name stdout
4547
Match *
4648
```
49+
{% endtab %}
50+
51+
{% tab title="fluent-bit.yaml" %}
52+
```yaml
53+
pipeline:
54+
inputs:
55+
- name: winevtlog
56+
channels: Setup,Windows PowerShell
57+
interval_sec: 1
58+
db: winevtlog.sqllite
59+
outputs:
60+
- name: stdout
61+
match: '*'
62+
```
63+
{% endtab %}
64+
{% endtabs %}
4765
4866
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.
4967

0 commit comments

Comments
 (0)