fixing permission denied issue with udp 512 port graylog

use iptables to pre-route NAT the udp port :   iptables -A PREROUTING -t nat -i eth0 -p udp –dport 514 -j REDIRECT –to-port 10515   This will bypass the limit in the OS to ports < 1024 to non=root users . nJoy 😉  

Installing sample data in elastic search

After installing elastic search it is useful for testing and training to load some sample data. 1) create mapping : curl -XPUT http://localhost:9200/shakespeare -d ' { "mappings" : { "_default_" : { "properties" : { "speaker" : {"type": "string", "index" : "not_analyzed" }, "play_name" : {"type": "string", "index" : "not_analyzed" }, "line_id" : { "type"…