Skip to content

Instantly share code, notes, and snippets.

@secabstraction
secabstraction / logstash-template.json
Created February 8, 2016 19:47 — forked from reyjrar/logstash-template.json
Template for logstash indexes
{
"template": "logstash-*",
"settings" : {
"index.number_of_shards" : 3,
"index.number_of_replicas" : 1,
"index.query.default_field" : "@message",
"index.routing.allocation.total_shards_per_node" : 2,
"index.auto_expand_replicas": false
},
"mappings": {
@secabstraction
secabstraction / elasticsearch.yml
Created February 8, 2016 19:46 — forked from reyjrar/elasticsearch.yml
ElasticSearch config for a write-heavy cluster
##################################################################
# /etc/elasticsearch/elasticsearch.yml
#
# Base configuration for a write heavy cluster
#
# Cluster / Node Basics
cluster.name: logng
# Node can have abritrary attributes we can use for routing