Skip to main content

Hi all,I'm having a hard time get Redis running on my Cribl Workers and I don't know what the issue is.What I've done so far:1. Setup a Redis Server in Docker (Standalone)2. Set Up a pipeline as demonstarted in https://docs.cribl.io/stream/redis-function/#scenario-a|Docs3. Setup Redis URL `redis://<password>@&lt;host>:<port>`4. Authentication: None 5. Tested the connection from my cribl worker via `redis-cli` from which I was able to write and retrive Keys from the Redis-ServerBasically, my question is: Why doesn't it work using Cribl?Any ideas on that?Cheers :zebra_face:

Would you be willing to share your docker setup? What version of Cribl are you running? Standalone or distributed?


» Cribl 4.0.2» Distributed Setup» Docker: ‚ó¶ Image: redis:latest ‚ó¶ PORTS: 0.0.0.:6379 -> 6379/tcpDocker isn't really my business and someone else set up the Container. Do you need some more information? If so, what do you like to see?


Are you using the first or second option?`'redis..'```redis..``


<@U01J549PR6Y&gt; the first with single-quotes, if you're asking for the URL.


try the second option ( ``redis..``).. at least that seems to work for me ..


Mine works with single quotes FWIW


Doesn't make any difference for me.


I noticed you said your workers can connect to the redis instance... Can the Leader also?


When you run the preview, it will be connecting from the Leader.


You're right. I can not connect from Leader.Is there a way to use the preview from a worker?


You could "teleport" to a worker and preview the pipeline there if you wanted.


What do you mean by teleport? How does it work? Via GUI?


https://docs.cribl.io/stream/deploy-distributed#worker-access


Thank you very much <@U01LSBF5953&gt;!!!It is working. sometimes it is just about the details.


Remember any changes you make locally on the worker will be overwritten by a commit & deploy from the leader. Just something to watch out for.


Let us know if you run into any more problems!


Yes, I'm aware of this.Thank you very much!


ha, you came to the same conclusion as I did an hour ago... <@U04BZDDPNUX&gt; I added the port to the outbound ports in the Leaders' security group, and now the preview works as expected 🙂


Reply