Skip to content

Instantly share code, notes, and snippets.

@astanway
Last active August 29, 2015 14:02
Show Gist options
  • Save astanway/9c2d2ba44e4816ed2d26 to your computer and use it in GitHub Desktop.
Save astanway/9c2d2ba44e4816ed2d26 to your computer and use it in GitHub Desktop.
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