Class: LogStash::Filters::Elapsed_static::Element
- Inherits:
-
Object
- Object
- LogStash::Filters::Elapsed_static::Element
- Defined in:
- lib/logstash/filters/elapsed_static.rb
Overview
class LogStash::Filters::elapsed_static
Instance Attribute Summary collapse
-
#age ⇒ Object
Returns the value of attribute age.
-
#event ⇒ Object
Returns the value of attribute event.
Instance Method Summary collapse
-
#initialize(event) ⇒ Element
constructor
A new instance of Element.
Constructor Details
#initialize(event) ⇒ Element
Returns a new instance of Element.
259 260 261 262 |
# File 'lib/logstash/filters/elapsed_static.rb', line 259 def initialize(event) @event = event @age = 0 end |
Instance Attribute Details
#age ⇒ Object
Returns the value of attribute age.
257 258 259 |
# File 'lib/logstash/filters/elapsed_static.rb', line 257 def age @age end |
#event ⇒ Object
Returns the value of attribute event.
257 258 259 |
# File 'lib/logstash/filters/elapsed_static.rb', line 257 def event @event end |