I am getting this error in the browser. Here are my configs:
Kibana.yml:
</>http://10.241.89.144:9200 "
(SSL disabled)
Elastic.yml:
</>network.host: 0.0.0.0
opendistro_security.disabled: true
CN=node-1,OU=UF,O=Wazuh-test,L=Florida,C=US 
CN=node-2,OU=UF,O=Wazuh-test,L=Florida,C=US 
CN=node-3,OU=UF,O=Wazuh-test,L=Florida,C=US 
CN=admin,OU=Docu,O=Wazuh,L=California,C=US 
 
opendistro_security.audit.type: internal_elasticsearch
path.data: /var/lib/Elasticsearch
(SSL disabled)
Both Kibana and Elasticsearch are running fine, no errors.
I've reviewed several other similar forum topics but none of the fixes worked for me.
             
            
              
            
           
          
            
              
                FALEN  
              
                  
                    March 22, 2022,  8:23am
                   
                  2 
               
             
            
              Please enable debug level logs and share errors, warns you found
Its probably related to Elasticsearch, but you can also find kibana logs here;
             
            
              
            
           
          
            
            
              Hello:
When I add the logging settings to my kibana.yml the service fails to start:
server.host: 10.241.89.153
Elasticsearch.hosts: http://10.241.89.144:9200 
server.port: 80
Elasticsearch.ssl.verificationMode: certificate
Elasticsearch.username: kibanaserver
Elasticsearch.password: kibanaserver
Elasticsearch.requestHeadersWhitelist: ["securitytenant","Authorization"]
opendistro_security.multitenancy.enabled: true
opendistro_security.readonly_mode.roles: ["kibana_read_only"]
server.ssl.enabled: false
server.ssl.key: "/etc/kibana/certs/kibana-key.pem"
server.ssl.certificate: "/etc/kibana/certs/kibana.pem"
Elasticsearch.ssl.certificateAuthorities: ["/etc/kibana/certs/root-ca.pem"]
server.defaultRoute: /app/wazuh?security_tenant=global
telemetry.banner: false
logging.root.level: debug
logging.appenders.default:
type: file
fileName: /var/logs/kibana.log
layout:
type: json
logging.loggers:
name: Elasticsearch.query 
 
level: debug
logging.loggers:
name: http.server.response 
 
level: debug
logging.loggers:
level: debug
             
            
              
            
           
          
            
              
                FALEN  
              
                  
                    March 25, 2022,  1:26pm
                   
                  4 
               
             
            
              
You have both SSL config and non-ssl config enabled. Im not sure that will cause problem but it seems wrong to me
             
            
              
            
           
          
            
            
              I’ve disabled SSL completely, it wasn’t working to begin with, so I wanted to deploy this as a POC without it. With SSL disabled and the logging commented out I notice the following…
The service starts and runs for a few minutes … fails then restarts … runs for a few minutes… spits out this message…
Process: 795890 ExecStart=/usr/share/kibana/bin/kibana -c /etc/kibana/kibana.yml (code=exited, status=1/FAILURE)
Main PID: 795890 (code=exited, status=1/FAILURE)
Restarts again … seems ok for a few minutes … fails again.
             
            
              
            
           
          
            
              
                FALEN  
              
                  
                    March 25, 2022,  2:20pm
                   
                  6 
               
             
            
              Can you share debug logs of Elasticsearch, just restart service and collect fresh logs and see whats happening right before ERROR happens
             
            
              
            
           
          
            
            
              I removed the auto-restart from the kibana.service config to see the error message, it is as follows:
'{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [_opendistro]",
             
            
              
            
           
          
            
              
                FALEN  
              
                  
                    March 25, 2022,  2:52pm
                   
                  8 
               
             
            
              I assume you are missing alerting plugin with kibana, but i cant help further because your Elasticsearch is opendistro and i dont have knowledge on their tools. You may look further details on opendistro forums
             
            
              
            
           
          
            
              
                system  
              
                  
                    March 25, 2022,  2:52pm
                   
                  9 
               
             
            
              Opendistro is an AWS run product and differs from the original Elasticsearch and Kibana products that Elastic builds and maintains. You may need to contact them directly for further assistance.
(This is an automated response from your friendly Elastic bot. Please report this post if you have any suggestions or concerns 
             
            
              
            
           
          
            
              
                system  
              
                  
                    April 22, 2022,  2:53pm
                   
                  10 
               
             
            
              This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.