Class: Systemd::JournalEntry
- Inherits:
-
Object
- Object
- Systemd::JournalEntry
- Defined in:
- lib/logstash/inputs/journald.rb
Instance Method Summary collapse
Instance Method Details
#to_h_lower(is_lowercase) ⇒ Object
167 168 169 170 171 172 173 |
# File 'lib/logstash/inputs/journald.rb', line 167 def to_h_lower(is_lowercase) if is_lowercase @entry.each_with_object({}) { |(k, v), h| h[k.downcase] = decode_value(v.dup) } else @entry.each_with_object({}) { |(k, v), h| h[k] = decode_value(v.dup) } end end |