Last active
August 29, 2015 14:02
-
-
Save astanway/9c2d2ba44e4816ed2d26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here's my redis setting: | |
redis { | |
host => "127.0.0.1" | |
data_type => "list" | |
codec => "json" | |
key => "json" | |
} | |
Here's my json filter: | |
json { | |
source => "foo" | |
} | |
And here's the graphite stuff: | |
graphite { | |
host => "localhost" | |
metrics_format => "logstash_testing.*" | |
metrics => [“bar”, "%{bar}"] | |
} | |
I send this command to redis: rpush json '{"foo": {"bar": 123}}' | |
I'm expecting to see "lostash_testing.bar" show up in Graphite. | |
The metric name is there, but the value does not make it over (it shows a zero). | |
I also get an error log saying elasticsearch can't process it. | |
Help? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment