Skip to content

Instantly share code, notes, and snippets.

@jpmens
Created August 6, 2012 16:19
Show Gist options
  • Save jpmens/3276101 to your computer and use it in GitHub Desktop.
Save jpmens/3276101 to your computer and use it in GitHub Desktop.
Logstash input config for Beaver/Redis

On the command line:

REDIS_NAMESPACE='logstash:app:unmappable' REDIS_URL='redis://redis-internal:6379/0' beaver -f /apps/production/current/log/unmappable.log -t redis

My logstash input:

redis {
  host => 'redis-internal' # this is in dns for work
  data_type => 'list'
  key => 'logstash:app:unmappable'
  type => 'app:unmappable'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment