Fill in your Redis address and password
- Replace
localhost:6379
with address of your Redis instance. - Replace
your_password
with a password to your Redis instance.
Find your password in/etc/redis/redis.conf
file inrequirepass
directive.
What you would like to collect from your Redis?
Collect logs and metrics from your Redis using Vector and redis exporter.
Create /etc/redis_exporter.conf
config file:
export REDIS_ADDR="localhost:6379"
export REDIS_PASSWORD="your_password"
localhost:6379
with address of your Redis instance.your_password
with a password to your Redis instance.
/etc/redis/redis.conf
file in requirepass
directive.Install latest redis exporter:
curl -sSL https://telemetry.betterstack.com/install/redis_exporter | sudo -E bash
Start the Redis exporter:
systemctl start redis_exporter
launchctl start com.prometheus.redis_exporter
Select your platform:
Install and configure Vector on Ubuntu or Debian:
curl -sSL https://telemetry.betterstack.com/setup-vector/redis_with_metrics/$SOURCE_TOKEN \
-o /tmp/setup-vector.sh && \
bash /tmp/setup-vector.sh
Curious about what the script does?
The script will ask for confirmation before making any changes.
You should see your logs in Better Stack → Live tail.
Collect logs from your Redis database using Vector.
Select your platform:
Install and configure Vector on Ubuntu or Debian:
curl -sSL https://telemetry.betterstack.com/setup-vector/redis/$SOURCE_TOKEN \
-o /tmp/setup-vector.sh && \
bash /tmp/setup-vector.sh
Curious about what the script does?
The script will ask for confirmation before making any changes.
You should see your logs in Better Stack → Live tail.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
Find step-by-step instructions in our dedicated Vector guide.