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.
400 401 402 403 404 405 406 407 |
# File 'lib/logstash/codecs/cef.rb', line 400 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.
410 411 412 |
# File 'lib/logstash/codecs/cef.rb', line 410 def ecs_field @ecs_field end |
#key ⇒ Object (readonly)
Returns the value of attribute key.
409 410 411 |
# File 'lib/logstash/codecs/cef.rb', line 409 def key @key end |
#legacy ⇒ Object (readonly)
Returns the value of attribute legacy.
411 412 413 |
# File 'lib/logstash/codecs/cef.rb', line 411 def legacy @legacy end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
408 409 410 |
# File 'lib/logstash/codecs/cef.rb', line 408 def name @name end |
#normalize ⇒ Object (readonly)
Returns the value of attribute normalize.
413 414 415 |
# File 'lib/logstash/codecs/cef.rb', line 413 def normalize @normalize end |
#priority ⇒ Object (readonly)
Returns the value of attribute priority.
412 413 414 |
# File 'lib/logstash/codecs/cef.rb', line 412 def priority @priority end |