Created
July 24, 2017 12:19
-
-
Save theikkila/51f69a84a95560384a21783f83883430 to your computer and use it in GitHub Desktop.
Logstash plans
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Read files from /log/*.json and output them into listening tcp-server | |
logstash -e 'input { file { path => "/log/*.json" } } output { tcp { host => "0.0.0.0" port => 3333 mode => "server" codec => line { format => "%{message}" }} }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment