Sidehistorik
...
Tips
Tip |
---|
Make sure the server time is correct for all servers as in use NTP. This actually gave me a problem where logstash => ElasticSearch did not work |
Delete indexes
I have divided stuff a bit, please read: Logstash - Tips and TroubleshootingElasticsearch - Tips and Troubleshooting |
Kodeblok |
---|
curl -XDELETE http://localhost:9200/filebeat*
|
Sample filebeat.yml config for my Confluence Server
Kodeblok |
---|
paths: - /var/log/auth.log - /var/log/syslog document_type: syslog input_type: log - paths: - /var/log/apache2/www.mos-eisley.dk-*.log document_type: apache input_type: log - paths: - /data/www/Fordor.log - /data/www/Baghus.log document_type: camfileslog input_type: log |
Sample filebeat.yml config for my Alfresco Server
Kodeblok |
---|
paths: - /var/log/auth.log - /var/log/syslog document_type: syslog input_type: log - paths: - /var/log/apache2/alfresco.mos-eisley.dk-*.log - /var/log/apache2/elk.mos-eisley.dk-*.log document_type: apache input_type: log - paths: - /var/log/ping-kafpingkaf.txt document_type: ping-logpinglog input_type: log |
Other Stuff:
http://www.slideshare.net/aca_it/monitor-your-atlassian-stack-like-the-nsa
...
PingLog i eget index
...
ELK - 3 THINGS I WISH I'D KNOWN
Little Logstash Lessons - Part I: Using grok and mutate to type your data