Skip to content

Instantly share code, notes, and snippets.

@Lakshmi-r21
Created June 3, 2020 16:17
Show Gist options
  • Save Lakshmi-r21/d3219e345b489d4136cc1e8483528e9d to your computer and use it in GitHub Desktop.
Save Lakshmi-r21/d3219e345b489d4136cc1e8483528e9d to your computer and use it in GitHub Desktop.
# __ __ __
# \ \ / / / /
# \ V / / /
# \_/ \/
#
# V E C T O R
# Configuration
#
# ------------------------------------------------------------------------------
# Website: https://vector.dev
# Docs: https://vector.dev/docs/
# ------------------------------------------------------------------------------
# Note: A full config spec is located at ./vector.spec.toml and examples
# in the ./examples folder.
data_dir = "C:\\Program Files\\Vector"
[sources.in1]
include = ["C:\\Program Files\\Vector\\system"]
type = "file" # required
[sinks.out1]
# General
bucket = "vectorlogs"# required
inputs = ["in1"] # 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 = "text" # required
# Naming
key_prefix = "windows=syslak/date=%F/" # optional, default
[sources.in2]
include = ["C:\\Program Files\\Vector\\application"]
type = "file" # required
[sinks.out2]
# General
bucket = "vectorlogs"# required
inputs = ["in2"] # 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 = "text" # required
# Naming
key_prefix = "windows=applak/date=%F/" # optional, default
[sources.in3]
include = ["C:\\Program Files\\Vector\\security"]
type = "file" # required
[sinks.out3]
# General
bucket = "vectorlogs"# required
inputs = ["in3"] # 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 = "text" # required
# Naming
key_prefix = "windows=security/date=%F/" # optional, default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment