class LogStash::Search::FacetResult::Histogram
Attributes
count[RW]
key[RW]
The name or key for this result.
mean[RW]
total[RW]
Public Instance Methods
to_json(*args)
click to toggle source
sometimes a parent call to to_json
calls us with args?
# File lib/logstash/search/facetresult/histogram.rb, line 13 def to_json(*args) return { "key" => @key, "mean" => @mean, "total" => @total, "count" => @count, }.to_json end