Graylog2 / Graylog2/illuminate-documentation

Zeek: Update filebeat configuration guide

Open
#277 0 comments 0 reactions 0 assignees View on GitHub
triaged
Dominant language
HTML
Stars
2
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The Zeek filebeat configuration guide uses the legacy `log` input type, and not all logs are JSON. Add a filestream input configuration that selectively parses JSON.

- Zeek filestream example:

```yaml
- type: filestream
id: zeek-filestream-json
enabled: true
paths:
- /opt/zeek/spool/zeek/*.log
processors:
- if:
regexp:
message: '^\{'
then:
- decode_json_fields:
fields: ['message']
max_depth: 1
target: 'zeek'
overwrite_keys: false
add_error_key: true
fields_under_root: true
fields:
event_source_product: zeek
```

Contributor guide

Open the contributing guide

Research direction

Open the Zeek filebeat configuration guide and compare its current legacy `log` input with the supplied filestream example. Update the guide to show selective JSON parsing for Zeek logs, and confirm that the documented configuration also covers non-JSON logs.

Written by the indexing model from the issue text.

Assessment

Tech stack
yaml
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.