surya2  
                (Surya)
               
                 
              
                  
                    March 29, 2019,  5:41pm
                   
                   
              1 
               
             
            
              Hello,
I am getting below error in kibana 6.5.4
"message":"Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [doc, type]: [illegal_argument_exception] Rejecting mapping update to [.kibana_1] as the final mapping would have more than 1 type: [doc, type]"}
Both Kibana and ES are in same version. 
Help please.
Thanks, 
Surya
             
            
               
               
               
            
            
           
          
            
              
                tsullivan  
                (Tim Sullivan)
               
              
                  
                    March 29, 2019,  9:52pm
                   
                   
              2 
               
             
            
              Hi, which version did you upgrade from? Did you refer to the upgrade guide beforehand? https://www.elastic.co/guide/en/elastic-stack/6.5/upgrading-elastic-stack.html 
This is a case of internal indices not having gone through migration, so double-check the steps about using the Reindex helper and the migration/upgrade API.
             
            
               
               
               
            
            
           
          
            
              
                tsullivan  
                (Tim Sullivan)
               
              
                  
                    March 29, 2019,  9:54pm
                   
                   
              3 
               
             
            
              Follow up question in case there wasn't an upgrade or the upgrade went ok:
Does Elasticsearch have an index template that adds type or doc as a type to every index?
             
            
               
               
               
            
            
           
          
            
              
                surya2  
                (Surya)
               
              
                  
                    March 29, 2019, 10:34pm
                   
                   
              4 
               
             
            
              We did not upgrade. its a strainght ES and kibana 6.5.4 installation
name                    index_patterns             order      version 
.management-beats       [.management-beats]        0          65000 
.ml-anomalies-          [.ml-anomalies-]          0          6050499 
.ml-meta                [.ml-meta]                 0          6050499 
.ml-notifications       [.ml-notifications]        0          6050499 
.ml-state               [.ml-state]                0          6050499 
.monitoring-alerts      [.monitoring-alerts-6]     0          6050399 
.monitoring-beats       [.monitoring-beats-6- ]    0          6050399 
.monitoring-es          [.monitoring-es-6-]       0          6050399 
.monitoring-logstash    [.monitoring-logstash-6- ] 0          6050399 
.triggered_watches      [.triggered_watches*]      2147483647 
.watch-history-9        [.watcher-history-9*]      2147483647 
.watches                [.watches*]                2147483647 
default_template        []                        0 
logstash-index-template [.logstash]                0 
security-index-template [.security- ]              1000 
security_audit_log      [.security_audit_log*]     1000
These are the index templates we have. All these are 6.x template’s i believe none of them should have type since they are deprecated from 6.x
             
            
               
               
               
            
            
           
          
            
              
                surya2  
                (Surya)
               
              
                  
                    April 1, 2019,  2:45pm
                   
                   
              5 
               
             
            
              All the indices are created on 6.5.4 and no templates are used @tsullivan 
             
            
               
               
               
            
            
           
          
            
              
                tsullivan  
                (Tim Sullivan)
               
              
                  
                    April 1, 2019,  6:00pm
                   
                   
              6 
               
             
            
              Hm, try using the migration assistant here. Your data came from somewhere else, maybe an import from another version. When you import saved objects, you can not just save the JSON directly to Elasticsearch. See Rejecting mapping update to [.kibana] as the final mapping would have more than 1 type: [visualization, doc]" error 
             
            
               
               
               
            
            
           
          
            
              
                surya2  
                (Surya)
               
              
                  
                    April 1, 2019,  6:42pm
                   
                   
              7 
               
             
            
              i figured out
kibana is using default index template to create mapping 
i deleted that index template and restarted Kibana and it worked fine
             
            
               
               
               
            
            
           
          
            
              
                system  
                (system)
                  Closed 
               
              
                  
                    April 29, 2019,  6:42pm
                   
                   
              8 
               
             
            
              This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.