Logstash 소개 및 초기 설치

1400 단어
logstash            
1.           
2.              
3.             
4.           
    Jruby     java         、             

  
1.  jdk(          jdk)
2.     
    logstash-1.5.5.tar.gz
https://download.elastic.co/logstash/logstash/logstash-1.5.5.tar.gz
 
  bin      
3.yum    
rpm --import http://packages.elasticsearch.org/GPG-KEY-elasticsearch   
  repo  
baseurl=http://packages.elasticsearch.org/logstash/1.5/centos 

yum clean all
yum install logstash

    :
[root@eddy bin]# ./logstash -e 'input { stdin { } } output{ stdout{} }'
hello world
2016-01-11T13:56:34.858Z eddy hello word
hello worlf
2016-01-11T13:56:39.151Z eddy hello worlf
ss
2016-01-11T13:56:41.204Z eddy ss
    
 -f, --config CONFIG_PATH               ,    、  、       ,                    
    -e CONFIG_STRING                     
    -w, --filterworkers COUNT     filterworkers   ,   1,  logstash       
    --watchdog-timeout SECONDS      watchdog timeout  ,  10s
    -l, --log FILE                  logstash       ,        
    -v                                  info debug     ,      , verbose debug  
    --quiet                           ,   error    
    --verbose                     info    
    --debug                       debug    
    -V, --version                     
    -p, --pluginpath PATH               ,        
    -t, --configtest                logstash                

좋은 웹페이지 즐겨찾기