DevTech101

DevTech101

Month: March 2016

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 »

Elasticserach templates – SSD Template

Dealing with SSDs in Elasticserach Upload a template for SSD(HOT) disk, so new index’s are placed on SSD. curl -XPUT http://elk1.domain.com:9200/_template/web-sql-log -d ‘ { “template”: “web-sql-log-*”, “settings”: { “index.refresh_interval”: “5s”, “index.routing.allocation.require.box_type”: “hot”, “number_of_shards” : 3 } }’ Verify new template curl -XGET ‘http://elk1.domain.com:9200/_template/web-sql-log?pretty’ { “web-sql-log” : { “order” : 0, “template” : “web-sql-log-*”, “settings” : …

Elasticserach templates – SSD Template Read More »