logstash-plugins / logstash-filter-memcached

Memcached Filter plugin for Logstash
Apache License 2.0
4 stars 11 forks source link

Continued Development #1

Closed steevo590 closed 6 years ago

steevo590 commented 6 years ago

Hey, was wondering if this plugin is continuing to be developed/supported, I have a couple of use cases that it has proven extremely valuable and was hoping that it is continued.

jsvd commented 6 years ago

Can you talk a bit more about these use cases and which features would be necessary to support them?

steevo590 commented 6 years ago

the main one is on some log enrichment, I have a session ID and user ID, session is in all logs but user ID is not so I am using memcached as a dynamic enrichment source, basically if i have userID and SessionID, i write it to the cache with session being the key and user the value, then if i get a record without userID i pull it from the cache with the session, this creates a dynamic self enriching log stream

jsvd commented 6 years ago

@steevo590 from what I understood this can be achieved now with this memcache filter by using conditionals and two instances of the filter:

  1. if event does not have have userID, use memcached { get { .. => .. } } to retrieve from cache
  2. if event has userID, use memcached { set { .. => .. } } to place it there
steevo590 commented 6 years ago

Yeah, that is how I am doing it, my original question was more around continued development and it going beyond a experimental plugin

jsvd commented 6 years ago

the current plan is indeed to move it to the default distribution in a future minor version but there isn't any roadmap for this plugin other than addressing any bugs, evaluating enhancement requests and reviewing community contributed PRs.

jsvd commented 6 years ago

closing as question was answered, if you see any enhancements worth having or find bugs please open a separate issue.