Top Level Namespace

Instance Method Summary collapse

Instance Method Details

#decomposite_key(key) ⇒ Object



3
4
5
# File 'lib/fluent/plugin/filter_kube_events_timestamp.rb', line 3

def decomposite_key(key)
  key.split('.')
end

#getin(hash, key) ⇒ Object



7
8
9
# File 'lib/fluent/plugin/filter_kube_events_timestamp.rb', line 7

def getin(hash, key)
  hash.dig(*decomposite_key(key))
end