Use redis to create session and add the session id to each log event in logstash

(Arvind Kumar) #1

Filebeat sends log events to our logstash server. Each log event has a client id which is basically a machine id of the client who generate the event. Using this client id I want to generate a session id and save this in redis. This session will be valid for 30 mins. Each log event will be associated with this session id. After session expires, a new session id is generated and again repeat the same process as above. This will be done for each unique client id. How can I use redis to read and write session into using "filters"?

(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.