10. Stability 3/4: No OOMs, pls!
1GB
½ total RAM
Monitor the requirements
SPM for Elasticsearch
20% off with MONEU2013
11. Stability 4/4: Field Cache
can be changed to
index.cache.field.type: soft
indices.fielddata.cache.size: X%
12. Performance 1/4: Bulk Processing
use Bulk API
or Bulk UDP API
...translog.flush_threshold_ops
13. Performance 2/4: Refresh Interval
http://blog.sematext.com/2013/07/08/elasticsearch-refresh-interval-vs-indexing-performance/
default:
every second => but
every 5s
+25% indexing*
every 30s
+70% indexing*
19. Meet Some Syslog Daemons
syslogd
traditional
everywhere
syslog-ng
OSE, PE
documentation++
config format++
rsyslog
OSS only
ES output*
* http://blog.sematext.com/2013/07/01/recipe-rsyslog-elasticsearch-kibana/
20. X-ray of a Modern Syslog Daemon
read+buffer
file
/dev/log
…
parse
syslog formats
JSON
unstructured data
assemble
conditionals
formatting
...
buffer+write
file
syslog
Elasticsearch
...
21. 2001's RFC3164: The Semi-Standard
<10>Oct 11 22:14:15 host program:hello world
TCP + LF =
no year, ms, nor TZ
little structure
23. Teaching Old Dog New Tricks
RSYSLOG_ForwardFormat
(ISO8601 over RFC3164)
$MaxMessageSize 2048k
log_message_size(2097152)
@cee: {"message": "hello world"} @@(o)192.168.0.1
octet-counted framing