Skip to content

Instantly share code, notes, and snippets.

@sentinelleader
Created November 22, 2015 13:43
Show Gist options
  • Save sentinelleader/3384049825a5095164d2 to your computer and use it in GitHub Desktop.
Save sentinelleader/3384049825a5095164d2 to your computer and use it in GitHub Desktop.
node-logstash configs
# cat output of all the conf files
input://file:///mnt/log/composer/backend/exceptions/exceptions*.jslog?type=composer
filter://truncate://?max_size=3500
output://tcp://10.243.0.177:1514?serializer=json_logstash&format=#{message}
input://file:///mnt/log/composer/backend/latency/latency*.jslog?type=composer
filter://truncate://?max_size=3500
output://tcp://10.243.0.177:1514?serializer=json_logstash&format=#{message}
input://file:///mnt/log/composer/backend/server-events/server-events*.jslog?type=composer
filter://truncate://?max_size=3500
output://tcp://10.243.0.177:1514?serializer=json_logstash&format=#{message}
input://file:///mnt/log/composer/backend/streaming-events/streaming-events*.jslog?type=composer
filter://truncate://?max_size=3500
output://tcp://10.243.0.177:1514?serializer=json_logstash&format=#{message}
input://file:///mnt/log/composer/frontend/combined/combined*.jslog?type=composer
filter://truncate://?max_size=3500
output://tcp://10.243.0.177:1514?serializer=json_logstash&format=#{message}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment