my filebeat was install under yum on centos7, 
I run /usr/share/filebeat/bin/filebeat modules list,it tell me below.
Error initializing beat: error loading config file: stat filebeat.yml: no such file or directory
 
then i change work directory to /etc/filebeat and run /usr/share/filebeat/bin/filebeat modules list again,it shows incorrect aslo.
Enabled:
Disabled:
 
anyone have idea,thanks a lot.
             
            
               
               
               
            
            
           
          
            
              
                jsoriano  
                (Jaime Soriano)
               
              
                  
                    June 5, 2018,  9:40am
                   
                   
              2 
               
             
            
              Hi @hjfeng1988 ,
Run filebeat directly without the path:
[jaime@centos7-filebeat ~]$ sudo filebeat modules list
Enabled:
Disabled:
apache2
auditd
icinga
kafka
logstash
mysql
nginx
osquery
postgresql
redis
system
traefik
 
             
            
               
               
              1 Like 
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    July 3, 2018,  9:40am
                   
                   
              3 
               
             
            
              This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.