package
0.0.0-20250904120818-1c9125ad02e4
Repository: https://github.com/tsaikd/gogstash.git
Documentation: pkg.go.dev

# README

gogstash input redis

Synopsis

input:
  # type Must be "redis"
  - type: "redis"

    # redis server host:port, default: "localhost:6379"
    host: "localhost:6379"

    # where to get data, default: "gogstash"
    key: "gogstash"

    # maximum number of socket connections, default: 10
    connections: 10

    # (optional) The number of events to return from Redis using EVAL, default: 125
    batch_count: 125

    # (optional) BLPOP blocking timeout, default: "600s"
    blocking_timeout: "600s"

WARNING

redis client do not support golang context interface{} well, so interrupt signal from OS will not work