how to install logstash on windows 7 -
how install logstash on windows 7?
i install zip file size 90 mb , version logstash-1.5.0 , extract file , move bath c:\logstash
when run:
c:\logstash\logstash-1.5.0\bin\logstash
i have following message:
io/console not supported; tty not manipulated no command given usage: logstash [command args] run command --help flag see arguments. example: logstash agent --help available commands: agent - runs logstash agent version - emits version info logstash
any thank you
the simple way started , verify logstash working start following command
logstash -e 'input { stdin { } } output { stdout {} }'
this means logstash echo type in console out console, example:
c:\logstash\bin>logstash -e 'input { stdin { } } output { stdout {} }' io/console not supported; tty not manipulated settings: default filter workers: 4 logstash startup completed typed 2015-12-11t09:22:22.349z my_pc typed , typed 2015-12-11t09:22:26.218z my_pc , typed
the next thing read input else, example windows logs. can save config file bin folder, can called anything, instance 'logstash.config'. contents below
# contents of logstash\bin\logstash.config input { eventlog { type => 'win32-eventlog' logfile => 'system' } } output { stdout { } }
if run
logstash -f logstash.config
leave running bit , see windows event log gets written out console. (you trigger events running iisreset in different console.)
not sure why says "io/console not supported; tty not manipulated", because running in windows console, logstash still working.
Comments
Post a Comment