2
responses

Using om_redis with mulitple output servers

Hey!

I have a bunch of log data that I'd like to push to a set of redis instances that are used as a queue.  In an ideal world, I could use a config like this:

<Output redis-out>
    Command LPUSH
    Host server1,server2,server3
</Output>

The desired result is that nxlog pushes sequential lines to each of the servers in turn - no duplication, just load distribution.

AskedApril 12, 2017 - 1:39am
1
response

Redis Module LPUSH

NXLog Redis output module  sends data to a Redis server with the RPUSH command allowing only to change the Redis key ( = database).

RPUSH inserts all the specified values at the tail of the list stored at key

AskedMay 26, 2016 - 8:48am