原文:問題: Could not index event to Elasticsearch. {:status=>400, :action=>["index", {:_id=>nil, :_index=>"logstash-user-2021.10.13", :routing=>nil}, {"tags"=>["_grokparsefailure_sysloginput"]

解決: 永久性解決 elasticsearch 版本以上的,默認只允許 個分片,因為集群分片數不足引起的 curl user elc:password XPUT H Content Type:application json d transient : cluster : max shards per node : http: . . . : cluster settings ...

2021-10-13 10:13 0 1761 推薦指數:

查看詳情

attempt to index a nil value (global 'luasql')

require ’socket‘ require ’luasql.mysql' 上述返回結果都是正常 但是執行 env = luasql.mysql(),報錯: stdin:1: attempt to index a nil value (global 'luasql')stack ...

Fri May 19 00:48:00 CST 2017 0 4892
Lua可變參數 “attempt to index global ‘arg’ (a nil value)”

使用Lua可變參數在win包報錯,在Unity上則完全沒問題,win包用的Lua解釋器是luajit,而Unity上用的Lua5.1. 其實是Lua在5.2及后續版本中去掉了arg全局關鍵字,導致在luajit版本中找不到arg而報錯。 在 5.2 之前, Lua 將函數的可變參數存放在一個 ...

Thu May 07 22:22:00 CST 2020 0 1571
elasticsearch index 之 create index(-)

從本篇開始,就進入了Index的核心代碼部分。這里首先分析一下索引的創建過程。elasticsearch中的索引是多個分片的集合,它只是邏輯上的索引,並不具備實際的索引功能,所有對數據的操作最終還是由每個分片完成。創建索引的過程,從elasticsearch集群上來說就是寫入索引元數據的過程,這一 ...

Wed May 31 07:41:00 CST 2017 0 2014
Elasticsearchindex、type、id的簡介

1、_index元數據2、_type元數據3、_id元數據 {"_index": "test_index","_type": "test_type","_id": "1","_version": 1,"found": true,"_source": {"test_content ...

Thu Apr 21 20:06:00 CST 2022 0 1052
elasticsearch index 之 create index(二)

創建索引需要創建索引並且更新集群index matedata,這一過程在MetaDataCreateIndexService的createIndex方法中完成。這里會提交一個高優先級,AckedClusterStateUpdateTask類型的task。索引創建需要即時得到反饋,異常這個task ...

Mon Jun 12 00:42:00 CST 2017 0 6265
index

索引由 Oracle 服務器自動使用和維護,一旦一個索引被創建,它就不再需要用戶直接管理。rowid是一個十六進制的串,表示包含塊定義的行地址,行的位置在塊中,並且有數據庫文件標識符,訪問任何指定行的 ...

Fri Aug 20 00:28:00 CST 2021 0 156
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM