DevTech101

DevTech101

logstash

Logstash Nagios Configuration Grok example (logstash.conf)

Nagios logstash yml conf file input { file { # Wildcards work, here 🙂 path => [ “/var/log/messages” ] start_position => “beginning” type => “nagios-alert” } } #input { #tcp { #host => “10.10.10.1” #port => 3333 #type => “nagios-alert” #} #} filter { if [type] == “nagios-alert” { if [message] =~ /nagios3 nagios:/ { …

Logstash Nagios Configuration Grok example (logstash.conf) Read More »

Solaris Elasticsearch Forwarder(Logstash) Setup

Create elastic data pool zpool create data1 c1d1 Add elastic user groupadd elastic useradd -d /export/home/elastic -g elastic -m -s /bin/bash -c “Elastic Search” elastic Install elastic binary’s cd /opt;unzip -qq /install/elasticsearch-2.2.0.zip;mv elasticsearch-2.2.0 elasticsearch mkdir /data1 /data1/data /data1/plugins /data1/log mkdir /opt/elasticsearch/current /opt/elasticsearch/current/logs /opt/elasticsearch/current/data /opt/elasticsearch/current/tmp chown -R elastic:elastic /opt/elasticsearch /data1 Grant access for elastic user echo …

Solaris Elasticsearch Forwarder(Logstash) Setup Read More »

Solaris Logstash Forwarder Configuration and Setup

Click here for the Full Install ELK and Configure Create elastic user and group groupadd elastic useradd -d /export/home/elastic -g elastic -m -s /bin/bash -c “Elastic Search” elastic Create elastic user home directory mkdir /export/home/elastic chown elastic:elastic /export/home/elastic Download logstash gz file and create directory cd /opt tar xf /var/tmp/logstash-2.2.2.tar.gz mv logstash-2.2.2 logstash Modify two …

Solaris Logstash Forwarder Configuration and Setup Read More »