Skip to content

Instantly share code, notes, and snippets.

@Hoverbear
Forked from Lakshmi-r21/vector.toml
Last active June 2, 2020 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Hoverbear/c92c052b6b1a222dc78d60fc6f3b0947 to your computer and use it in GitHub Desktop.
Save Hoverbear/c92c052b6b1a222dc78d60fc6f3b0947 to your computer and use it in GitHub Desktop.
[sources.in]
include = ["C:\\Windows\\System32\\winevt\\Logs\\System.evtx"]
type = "file" # required
[sinks.debug]
type = "console"
inputs = ["in"]
target = "stdout"
encoding.codec = "json"
[sinks.out]
# General
bucket = "vectorlogs"# required
inputs = ["in"] # required
assume_role = "arn:aws:iam::982020395256:role/Vectortest"
region = "us-east-1" # required, required when endpoint = ""
type = "aws_s3" # required
compression = "gzip"
healthcheck = true
# Encoding
encoding.codec = "ndjson" # required
# Naming
key_prefix = "windows/date=%F/" # optional, default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment