Advertisement
fotios

Untitled

Oct 4th, 2011
413
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. [fotios@fotios logstash]$ cat mylogstash.conf
  2. input {
  3. file {
  4. type => "syslog"
  5. path => [ "/var/log/foobar" ]
  6. }
  7. }
  8.  
  9. output {
  10. stdout { }
  11. elasticsearch { embedded => true }
  12. }
  13.  
  14.  
  15. [fotios@fotios logstash]$ java -jar logstash-1.0.17-monolithic.jar agent -f mylogstash.conf -- web --backend elasticsearch:///?local
  16. log4j:WARN No appenders could be found for logger (org.elasticsearch.node).
  17. log4j:WARN Please initialize the log4j system properly.
  18. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  19. file:/home/fotios/logstash/logstash-1.0.17-monolithic.jar!/logstash/time.rb:12 warning: already initialized constant ISO8601
  20. W, [2011-10-04T18:21:43.442000 #12423] WARN -- runner.class: Input #<LogStash::Inputs::File:0x394aa6c3> shutting down
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement