Is there a way to generate an Increment and Unique ID in logstash?


#1

What I really want is a unique ID, but not UUID. Because UUID is too long, and I don't need the ID to be universally unique. Just being unique in my own server will be fine enough.

The UUID plugin is quite close to what I want, but I hope the return is an increment unique number. Is there any way to get this kind of ID?

Thanks.


(Pablo) #2

Someone came up with an idea for this already.

But I think it's not possible from Elasticsearch.


#3

Thanks so much, this is just what I want !


(system) #4

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