Skip to content

Instantly share code, notes, and snippets.

@Lakshmi-r21
Last active June 2, 2020 06:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Lakshmi-r21/b660046836aac46f077a4828d9e61247 to your computer and use it in GitHub Desktop.
Save Lakshmi-r21/b660046836aac46f077a4828d9e61247 to your computer and use it in GitHub Desktop.
[sinks.my_sink_id]
# General
type = "console" # required
inputs = ["my-source-or-transform-id"] # required
target = "stdout" # optional, default
# Encoding
encoding.codec = "json" # required
[sources.in]
include = ["C:\\Windows\\System32\\winevt\\Logs\\System.evtx"]
type = "file" # required
[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