Skip to content

Instantly share code, notes, and snippets.

@VAdamec
Created January 23, 2014 16:48
Show Gist options
  • Save VAdamec/8582165 to your computer and use it in GitHub Desktop.
Save VAdamec/8582165 to your computer and use it in GitHub Desktop.
beaver_ossec.conf
[beaver]
transport: redis
redis_url: redis://localhost:6380/0
redis_namespace: logstash:cache:ossec
ssh_key_file: /etc/beaver/id_rsa
ssh_tunnel: beaver@<dc_server_redis>
ssh_tunnel_port: 6380
ssh_remote_host: <dc_server_redis>
ssh_remote_port: 6379
[/var/ossec/logs/alerts/alerts.log]
type: logstash:cache:ossec
tags: ossec
formaters: Multiline_ossec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment