Skip to content

alexus' blog

ai w/ vpn | meh

  • HowTo(s)
  • Download(s)
Posted on January 22, 2017 by alexus

logstash json example

root@457165ff1c3e:/# cat /etc/logstash/conf.d/* | grep -v \#

input {
gelf { codec => “json” }
}

filter {
json {
source => “message”
}
}

output {
elasticsearch { hosts => [“0:9200”] }
}
root@457165ff1c3e:/#

Share this:

  • Click to email a link to a friend (Opens in new window) Email
  • Click to print (Opens in new window) Print
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on X (Opens in new window) X
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Pocket (Opens in new window) Pocket

Like this:

Like Loading...

Related

CategoriesHowTo(s)

Post navigation

Previous PostPrevious securing elasticsearch without shield
Next PostNext dd *very* slow write speed on Mac OS X?

Social

  • View a1exus’s profile on Facebook
  • View a1exus’s profile on Twitter
  • View a1exus’s profile on Instagram
  • View a1exus’s profile on LinkedIn
  • View a1exus’s profile on GitHub
  • View a1exus’s profile on YouTube
  • View DmitryChorine’s profile on Google+
  • HowTo(s)
  • Download(s)
Proudly powered by WordPress
%d