Change @timestamp to be an integer


(נבו ויקסלבאום) #1

hello every one,

i'm trying to use the logstash config file to set the timestamp to be an integer in an order.
like, the first report to get in will 1, and the second will be 2 and so on.
in my project there is no meaning for time as much as the order.

is there a way to do it? i have tried using the date filter like this:

filter {
date {
match => ["CL" ,"yyyyyy"]
target => "@timestamp"
}


(system) #2

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