infinilabs / console Goto Github PK
View Code? Open in Web Editor NEW🏖 Multi-cluster, cross-version unified Elasticsearch/Opensearch/Easysearch governance platform.
Home Page: https://www.infinilabs.com/en/docs/latest/console/
🏖 Multi-cluster, cross-version unified Elasticsearch/Opensearch/Easysearch governance platform.
Home Page: https://www.infinilabs.com/en/docs/latest/console/
原来一直可以使用,有一段时间不启动,发现报这个错误:
[12-05 19:33:48] [ERR] [app.go:248] panic: check elasticsearch requirement error: Get "https://xxxx:9200": x509: “Elastic Certificate Tool Autogenerated CA” certificate is not trusted
[12-05 19:33:48] [INF] [app.go:267] console now terminated.
console can use yaml to config nginx proxy like http://xxxx:9000/ and use https to proxy http?
安装后,添加ES集群配置,集群连接测试可以正常,初始化时提示删除以.infini_开头的索引或者跳过,当点击跳过后进入第三步设置
输入账号信息后点击下一步会报错:
start to initialize template [template_ilm]
PUT /_template/.infini {"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Custom Analyzer [suggest_text_search] failed to find tokenizer under name [classic]"}],"type":"illegal_argument_exception","reason":"Custom Analyzer [suggest_text_search] failed to find tokenizer under name [classic]"},"status":400}
查看网关常见问题,执行命令:
DELETE _template/.infini
DELETE .infini_node
DELETE .infini_index
重新启动还会报错:
{"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_doc]: analyzer [suggest_text_search] has not been configured in mappings"}],"type":"mapper_parsing_exception","reason":"Failed to parse mapping [_doc]: analyzer [suggest_text_search] has not been configured in mappings","caused_by":{"type":"illegal_argument_exception","reason":"analyzer [suggest_text_search] has not been configured in mappings"}},"status":400}
当再次刷新后就会报错:
setup not permitted
使用版本:
/console-linux-amd64 -v
console 1.23.0 1438 2024-02-29 04:25:40 +0000 UTC 2024-12-31 10:10:10 +0000 UTC 200ffd7af684ba2b7cd221e9bdece9f18653017f
启动命令:
./console-linux-amd64
gateway: 1.6.0_SNAPSHOT
es: 7.8.1
kibana: 7.8.1
尝试测试 date_range_precision_tuning,time_precision:6,预设置精度到“秒”,配置之后kibana请求报错了。
去掉改配置后正常。
flow:
- name: default_flow
filter:
- context_regex_replace:
context: "_ctx.request.uri"
pattern: "_from=[^&]*&?"
to: ""
- date_range_precision_tuning:
time_precision: 6
- get_cache:
- bulk_reshuffle:
when:
contains:
_ctx.request.path: /_bulk
elasticsearch: prod
level: node
fix_null_id: true
- elasticsearch:
elasticsearch: prod #elasticsearch configure reference name
max_connection_per_node: 1000 #max tcp connection to upstream, default for all nodes
max_response_size: -1 #default for all nodes
balancer: weight
refresh: # refresh upstream nodes list, need to enable this feature to use elasticsearch nodes auto discovery
enabled: true
interval: 60s
- set_cache:
cache_type: ristretto
min_response_size: 100
max_response_size: 1024000
cache_ttl: 30s
max_cache_items: 100000
failed to parse date field [2022-08-00T05:59:32.999Z] with format [strict_date_optional_time]: [failed to parse date field [2022-08-00T05:59:32.999Z] with format [strict_date_optional_time]]
抓包结果内容:
kibana_http_400.json.zip
多集群Devtools很好用,如果有源码就更好了。
系统管理-》集群管理显示集群状态时红圈×,但是测试链接是连接成功 并且自动新建了索引.infini_*
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.