logstash-plugins / logstash-filter-age

Filter to calculate age of an event based on when it was received by Logstash
Apache License 2.0
2 stars 3 forks source link

No [@metadata][age] field created #2

Closed chandlermelton closed 6 years ago

chandlermelton commented 6 years ago

I have installed the newest version of this plugin for testing, but I am not seeing any resulting fields after calling it.

My simple test is as follows:
age {} mutate { copy => { "[@metadata][age] => "age" } }

I see neither a metadata field or regular filed in the resultant documents. Can you please suggest how I may verify the age value before I use it to drop events?

chandlermelton commented 6 years ago

Closing. I had a typo in the clone filter.