-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Testing the `redis` source
Stephen Wakely edited this page Dec 12, 2022
·
1 revision
Run a docker container:
docker run --name redis -p 6379:6379 -d redis
Configure a source in Vector similar to:
sources:
redis:
type: redis
url: redis://127.0.0.1:6379
key: zorknork
data_type: list
Send data to Vector by running the Redis cli:
docker exec -it redis redis-cli
Push data onto our list in the Redis cli with:
127.0.0.1:6379> RPUSH zorknork noog
(integer) 1