Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 2.24 KB

gcp_storage.md

File metadata and controls

40 lines (30 loc) · 2.24 KB

GCP Storage

Table of content

Configuration

Setting Env var Default value Description
gcp.credentials GCP_CREDENTIALS The base64-encoded JSON key file for the GCP service account
gcp.storage.bucket GCP_STORAGE_BUCKET The name of the bucket, if not empty, GCP Storage is enabled
gcp.storage.prefix GCP_STORAGE_PREFIX Prefix, keys will have format: gs:////YYYY-MM-DD/YYYY-MM-DDTHH:mm:ss.s+01:00.json
gcp.storage.minimumpriority GCP_STORAGE_MINIMUMPRIORITY "" (= debug) Minimum priority of event for using this output, order is emergency,alert,critical,error,warning,notice,informational,debug or ""

Note

The Env var values override the settings from yaml file.

Example of config.yaml

gcp:
  credentials: "" # The base64-encoded JSON key file for the GCP service account
  storage:
    bucket: "" # The name of the bucket, if not empty, GCP Storage is enabled
    prefix : "" # Prefix, keys will have format: gs://<bucket>/<prefix>/YYYY-MM-DD/YYYY-MM-DDTHH:mm:ss.s+01:00.json
    # minimumpriority: "debug" # minimum priority of event for using this output, order is emergency|alert|critical|error|warning|notice|informational|debug or "" (default)

Additional info

Screenshots