Skip to content

NimTechnology

Trình bày các công nghệ CLOUD một cách dễ hiểu.

  • Kubernetes & Container
    • Docker
    • Kubernetes
      • Ingress
    • Helm Chart
    • Isito-EnvoyFilter
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Vault
    • Longhorn – Storage
    • VictoriaMetrics
    • MetalLB
    • Kong Gateway
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Spinnaker
    • Jenkins
    • Harbor
    • TeamCity
    • Git
      • Bitbucket
  • Coding
    • Terraform
      • GCP – Google Cloud
      • AWS – Amazon Web Service
    • Golang
    • Laravel
    • Python
    • Jquery & JavaScript
    • Selenium
  • Log & Monitor
    • DataDog
    • Prometheus
    • Grafana
    • ELK
      • Kibana
      • Logstash
  • BareMetal
    • NextCloud
  • Toggle search form

[error] Solve elasticsearch error Limit of total fields [1000] in index [xxx]

Posted on June 13, 2021January 18, 2022 By nim No Comments on [error] Solve elasticsearch error Limit of total fields [1000] in index [xxx]

Links: https://www.twblogs.net/a/5db3634abd9eee310da04462

Ta thấy lỗi tương tư như dưới

[WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch. {:status=>400, :action=>[“index”, {:_id=>nil, :_index=>”logstash-2019.10.14″, :_type=>”doc”, :_routing=>nil}, #<LogStash::Event:0x390305bb>], :response=>{“index”=>{“_index”=>”logstash-2019.10.14”, “_type”=>”doc”, “_id”=>”S-f0yG0BAZNQsWN8qxcz”, “status”=>400, “error”=>{“type”=>”illegal_argument_exception”, “reason”=>”Limit of total fields [1000] in index [logstash-2019.10.14] has been exceeded”}}}}

Sử lý lỗi tạm thời:

$ curl -X PUT  -H "Content-Type: application/json" -d '{"index.mapping.total_fields.limit":2000}' http://elasticserver:9200/logstash-2019.10.14/_settings
{"acknowledged":true}

Giải quyết vấn đề vĩnh viễn,

curl -X PUT  -H "Content-Type: application/json" -d '{"template": "logstash-*","settings":{"index.mapping.total_fields.limit":2000}}' http://elasticserver:9200/_template/logstash

logstash-2019.10.14: đây là index đang bị báo vượt ngưỡng nhé

curl -X PUT -u user:pass  -H "Content-Type: application/json" -d '{"index.mapping.total_fields.limit":2000}' http://localhost:9200/logstash-2021.05.30-000002/_settings {"acknowledged":true}
ELK, Log & Monitor

Post navigation

Previous Post: [error] Lỗi failed to parse field [host] of type [text] in document with id trên elk
Next Post: Hướng dẫn phần quền user trên Jenkins.

More Related Articles

[Kibana-ELK] Installing and Seting a Kibana For ELK ELK
[Kibana] Tutorial export and import much data(dashboard,…) in Kibana – ELK ELK
[Elasticsearch] reason=Validation Failed: 1: this action would add [10] total shards, but this cluster currently has [1000]/[1000] maximum shards open;]]] ELK
[OpenVPN] How do you monitor Your OpenVPN-Server via Prometheus and Grafana Grafana
[Prometheus] TIP – Custom Prometheus Log & Monitor
[Grafana] Hướng dấn tạo Menu Dropdown trên Grafana Grafana

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Tham Gia Group DevOps nhé!
Để Nim có nhiều động lực ra nhiều bài viết.
Để nhận được những thông báo mới nhất.

Recent Posts

  • Experiences for IP Addresses Shortage on EKS Clusters March 29, 2023
  • [Talisman] Discover the sensitive information in your code. March 28, 2023
  • [Prometheus/Grafana] Install Prometheus and Grafana on ubuntu. March 27, 2023
  • [Kong Gateway] WebSocket connection failed March 26, 2023
  • [Nextcloud] Can’t download files to have a size bigger than 2Gi on NextCloud – RaspBerry March 24, 2023

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021

Categories

  • BareMetal
    • NextCloud
  • CI/CD
    • ArgoCD
    • ArgoWorkflows
    • Git
      • Bitbucket
    • Harbor
    • Jenkins
    • Spinnaker
    • TeamCity
  • Coding
    • Golang
    • Jquery & JavaScript
    • Laravel
    • Python
    • Selenium
    • Terraform
      • AWS – Amazon Web Service
      • GCP – Google Cloud
  • Kubernetes & Container
    • Apache Kafka
      • Kafka
      • Kafka Connect
      • Lenses
    • Docker
    • Helm Chart
    • Isito-EnvoyFilter
    • Kong Gateway
    • Kubernetes
      • Ingress
    • Longhorn – Storage
    • MetalLB
    • Vault
    • VictoriaMetrics
  • Log & Monitor
    • DataDog
    • ELK
      • Kibana
      • Logstash
    • Grafana
    • Prometheus
  • Uncategorized
  • Admin

Copyright © 2023 NimTechnology.