mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
- to_json is called with a parameter? Hmm...
This: JSON::Ext::Generator::State But, facet queries work now :)
This commit is contained in:
parent
35d262f463
commit
5a7b833bef
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ class LogStash::Search::FacetResult::Histogram < LogStash::Search::FacetResult::
|
|||
attr_accessor :total
|
||||
attr_accessor :count
|
||||
|
||||
def to_json
|
||||
def to_json(*args)
|
||||
p :to_json => args
|
||||
return {
|
||||
"key" => @key,
|
||||
"mean" => @mean,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue