User Tools

Site Tools


syslogngek

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
syslogngek [2015/10/21 16:24]
ian [ElasticSearch]
syslogngek [2020/02/13 22:55] (current)
Line 25: Line 25:
 </note> </note>
  
-Code: +Puppet Manifest: https://bitbucket.org/snippets/iansamuel/LLEag
-[[https://bitbucket.org/snippets/iansamuel/LLEag]]+
  
 <code> <code>
Line 34: Line 33:
 ===== ElasticSearch / Kibana ===== ===== ElasticSearch / Kibana =====
  
-https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html+https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-repositories.html \\ 
 +https://www.elastic.co/downloads/kibana
  
-Code: https://bitbucket.org/snippets/iansamuel/yqj5k +Puppet Manifest: https://bitbucket.org/snippets/iansamuel/yqj5k
- +
- +
-===== Kibana ===== +
- +
-https://www.elastic.co/downloads/kibana+
  
 <code> <code>
-:~# cd /usr/src +puppet apply /etc/puppet/manifests/elasticsearch-kibana.pp
- +
-:/usr/src# wget -c https://download.elastic.co/kibana/kibana/kibana-4.1.2-linux-x64.tar.gz +
- +
-:/usr/src# cd /usr/local/ +
- +
-:/usr/local# tar xvzf /usr/src/kibana-*gz +
- +
-:/usr/local# ln -s kibana-4.1.2-linux-x64 kibana +
- +
-:/usr/local# echo "/usr/local/kibana/bin/kibana | logger -t kibana &" >> /etc/rc.local +
- +
-:/usr/local# /usr/local/kibana/bin/kibana | logger -t kibana &+
 </code> </code>
- 
 ====== Configuration ====== ====== Configuration ======
  
Line 66: Line 48:
 <code> <code>
 @include "scl/elasticsearch/plugin.conf" @include "scl/elasticsearch/plugin.conf"
 +
 +source s_net { udp(); };  # All interfaces
  
 destination d_elastic { destination d_elastic {
        elasticsearch(        elasticsearch(
 +         host("localhost")
          index("syslog-ng")          index("syslog-ng")
        );        );
Line 74: Line 59:
  
 log { log {
-    source(s_src);+    source(s_net);
     destination(d_elastic);     destination(d_elastic);
     flags(flow-control);     flags(flow-control);
syslogngek.1445459077.txt.gz · Last modified: 2020/02/13 22:55 (external edit)

free spam filter