Module: Loki
- Included in:
- LogStash::Outputs::Loki, Entry
- Defined in:
- lib/logstash/outputs/loki/batch.rb,
lib/logstash/outputs/loki/entry.rb
Defined Under Namespace
Instance Method Summary collapse
Instance Method Details
#to_ns(s) ⇒ Object
2 3 4 |
# File 'lib/logstash/outputs/loki/entry.rb', line 2 def to_ns(s) (s.to_f * (10**9)).to_i end |