Unable to complete saved object migrations for the [.kibana] index. RequestAbortedError: The content length (823769731) is bigger than the maximum allowed string

kibana           | {"type":"log","@timestamp":"2021-05-29T18:16:24+00:00","tags":["info","savedobjects-service"],"pid":6,"message":"[.kibana_task_manager] Migration completed after 9330ms"}
kibana           | {"type":"log","@timestamp":"2021-05-29T18:16:44+00:00","tags":["warning","plugins","licensing"],"pid":6,"message":"License information could not be obtained from Elasticsearch due to Error: Cluster client cannot be used after it has been closed. error"}
kibana           | {"type":"log","@timestamp":"2021-05-29T18:16:54+00:00","tags":["warning","plugins-system"],"pid":6,"message":"\"eventLog\" plugin didn't stop in 30sec., move on to the next."}

kibana           |  FATAL  Error: Unable to complete saved object migrations for the [.kibana] index. RequestAbortedError: The content length (823769731) is bigger than the maximum allowed string (536870888)
kibana exited with code 1

I've not made any migration so I don't know why this happened. Can someone help me?

Try increasing kibana.yml server.maxPayload to a larger value, Configure Kibana | Kibana Guide [7.13] | Elastic

This doesn't help me because I continue having the same error. The idea is good but maybe is not that the parameter that I need to increment. I've tried also to insert savedObjects.maxImportPayloadBytes: 823769735 and savedObjects.maxPayload: as 823769735

@Nathan_Reese

kibana:
    image: docker.elastic.co/kibana/kibana:7.12.0
    mem_limit: 8096m
    mem_reservation: 7096m
    container_name: kibana
    restart: always
    networks:
    - es-net
    environment:
      ELASTICSEARCH_URL: "http://localhost:9200"
      ELASTICSEARCH_HOSTS: "http://elasticsearch:9200"  
      elasticsearch.ssl.verificationMode: "null"
      xpack.monitoring.ui.container.elasticsearch.enabled: "true"
      LOGGING_VERBOSE: null
      elasticsearch.username: "kibana"
      elasticsearch.password: "kibana"
      migrations.enableV2: "false"
      server.maxPayload: 553247624
      savedObjects.maxImportPayloadBytes: 553247624
      #xpack.security.encryptionKey: "kibana_kibana_kibana_kibana_kibana"
      #xpack.security.session.idleTimeout: "1h"
      #xpack.security.session.lifespan: "1h"


    ports:
      - 5601:5601

This is my kibana.yml

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.