Class: LogStash::Codecs::CEF::CEFField
- Inherits:
-
Object
- Object
- LogStash::Codecs::CEF::CEFField
- Defined in:
- lib/logstash/codecs/cef.rb
Instance Attribute Summary collapse
-
#ecs_field ⇒ Object
readonly
Returns the value of attribute ecs_field.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#legacy ⇒ Object
readonly
Returns the value of attribute legacy.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#normalize ⇒ Object
readonly
Returns the value of attribute normalize.
-
#priority ⇒ Object
readonly
Returns the value of attribute priority.
Instance Method Summary collapse
-
#initialize(name, key: name, ecs_field: name, legacy: nil, priority: 0, normalize: nil) ⇒ CEFField
constructor
A new instance of CEFField.
Constructor Details
#initialize(name, key: name, ecs_field: name, legacy: nil, priority: 0, normalize: nil) ⇒ CEFField
Returns a new instance of CEFField.
348 349 350 351 352 353 354 355 |
# File 'lib/logstash/codecs/cef.rb', line 348 def initialize(name, key: name, ecs_field: name, legacy:nil, priority:0, normalize:nil) @name = name @key = key @ecs_field = ecs_field @legacy = legacy @priority = priority @normalize = normalize end |
Instance Attribute Details
#ecs_field ⇒ Object (readonly)
Returns the value of attribute ecs_field.
358 359 360 |
# File 'lib/logstash/codecs/cef.rb', line 358 def ecs_field @ecs_field end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
357 358 359 |
# File 'lib/logstash/codecs/cef.rb', line 357 def key @key end |
#legacy ⇒ Object (readonly)
Returns the value of attribute legacy.
359 360 361 |
# File 'lib/logstash/codecs/cef.rb', line 359 def legacy @legacy end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
356 357 358 |
# File 'lib/logstash/codecs/cef.rb', line 356 def name @name end |
#normalize ⇒ Object (readonly)
Returns the value of attribute normalize.
361 362 363 |
# File 'lib/logstash/codecs/cef.rb', line 361 def normalize @normalize end |
#priority ⇒ Object (readonly)
Returns the value of attribute priority.
360 361 362 |
# File 'lib/logstash/codecs/cef.rb', line 360 def priority @priority end |