jeudi 30 avril 2015

How to pass the output from logstash in local machine to Elasticsearch in AWS

I want to dump my logstash output to Elasticsearch hosted in AWS. I didn't get any proper documentation online for the same. Please advice.

Here is my logstash message:

"message" => "{\"timestamp\":\"Wed Apr 29 18:54:16 PDT 2015\",\"vHost_name\":\"130.65.132.233\",\"cpuUsage\":4438,\"cpuUsagemhz\":2130,\"memUsage\":9235,\"memGranted\":1172063,\"memActive\":359418,\"memConsumed\":1936530,\"diskUsage\":43,\"diskRead\":21,\"diskWrite\":21,\"netUsage\":20603,\"netReceived\":17986,\"netTrasnmitted\":2617,\"sysUptime\":797067,\"sysResourcesCpuUsage\":79}\r"

I want to separate every paramater in this and pass to my AWS Elasticsearch instance. Please help. Thanks.




Aucun commentaire:

Enregistrer un commentaire