Created
April 18, 2022 09:43
-
-
Save kierdavis/da35fb82e13d3dfabdabaa4dcac0d66f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[sources.journal] | |
type = "journald" | |
[sinks.out] | |
type = "http" | |
uri = "https://localhost/" | |
inputs = ["journal"] | |
encoding.codec = "ndjson" | |
# Removing this line makes the panic go away: | |
encoding.only_fields = ["message", "timestamp", "host", "systemd_unit", "file"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment