DevTech101

DevTech101

Month: April 2016

Collectd , logstash and Elasticsearch

Install Collectd from opencsw /opt/csw/bin/pkgutil -i collectd /opt/csw/bin/pkgutil -i collectd-utils Modify collectd.conf vi /etc/opt/csw/collectd.conf Hostname “yourhost” FQDNLookup false LoadPlugin syslog LoadPlugin cpu LoadPlugin df LoadPlugin disk LoadPlugin interface LoadPlugin load LoadPlugin memory LoadPlugin network LoadPlugin rrdtool LoadPlugin zfs_arc Server “10.10.10.11” “3333” Restart or enable collectd svcadm enable svc:/network/cswcollectd:default forward the logs to elasticsearch with logstash …

Collectd , logstash and Elasticsearch Read More »

Configuring Elasticsearch betas/topbeats on linux

First, lets Download the beats template. curl -O https://raw.githubusercontent.com/elastic/topbeat/master/etc/topbeat.template.json Upload to elastic template curl -XPUT ‘http://elk3.domain.com:9200/_template/topbeat’ -d@topbeat.template.json Now, lets install topbeat, add elastic beat repo, and run yum -y install topbeat Modify /etc/topbeat/topbeat.yml, under elasticsearch add elastic (or logstash) hosts hosts: [“10.10.3.48:9204”, “10.10.3.48:9205”, “10.10.3.48:9206”] Start the beat service systemctl start topbeat Install topbeats dashboards curl …

Configuring Elasticsearch betas/topbeats on linux Read More »