This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
syslogngek [2015/10/21 15:22] ian [Syslog-ng] |
syslogngek [2020/02/13 22:55] (current) |
||
|---|---|---|---|
| Line 25: | Line 25: | ||
| </ | </ | ||
| - | https:// | + | Puppet Manifest: |
| < | < | ||
| Line 31: | Line 31: | ||
| </ | </ | ||
| - | ===== ElasticSearch ===== | + | ===== ElasticSearch |
| - | https:// | + | https:// |
| + | https:// | ||
| - | < | + | Puppet Manifest: https://bitbucket.org/snippets/iansamuel/yqj5k |
| - | :~# wget -qO - https://packages.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - | + | |
| - | + | ||
| - | :~# echo "deb http:// | + | |
| - | + | ||
| - | :~# aptitude update && aptitude install elasticsearch default-jre-headless | + | |
| - | + | ||
| - | :~# update-rc.d elasticsearch defaults 95 10 | + | |
| - | + | ||
| - | :~# service elasticsearch start | + | |
| - | * Starting Elasticsearch Server | + | |
| - | </ | + | |
| - | + | ||
| - | ===== Kibana ===== | + | |
| - | + | ||
| - | https:// | + | |
| < | < | ||
| - | :~# cd /usr/src | + | puppet apply /etc/puppet/manifests/elasticsearch-kibana.pp |
| - | + | ||
| - | :/usr/src# wget -c https:// | + | |
| - | + | ||
| - | :/usr/src# cd / | + | |
| - | + | ||
| - | :/ | + | |
| - | + | ||
| - | :/ | + | |
| - | + | ||
| - | :/ | + | |
| - | + | ||
| - | :/ | + | |
| </ | </ | ||
| - | |||
| ====== Configuration ====== | ====== Configuration ====== | ||
| Line 75: | Line 48: | ||
| < | < | ||
| @include " | @include " | ||
| + | |||
| + | source s_net { udp(); }; # All interfaces | ||
| destination d_elastic { | destination d_elastic { | ||
| | | ||
| + | | ||
| | | ||
| ); | ); | ||
| Line 83: | Line 59: | ||
| log { | log { | ||
| - | source(s_src); | + | source(s_net); |
| destination(d_elastic); | destination(d_elastic); | ||
| flags(flow-control); | flags(flow-control); | ||