plugin-elastic-report 0.0.0-stage → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/skills/elastic-report/SKILLS.md +34 -0
- package/client-v2.d.ts +2 -0
- package/client-v2.js +1 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/357.0dd385384cab5dbf.js +10 -0
- package/dist/client/index.js +10 -0
- package/dist/client-v2/851.142c93fc6d666b28.js +10 -0
- package/dist/client-v2/857.a5bf9637d5fd4ef5.js +10 -0
- package/dist/client-v2/877.f4095a3dbcadf98f.js +10 -0
- package/dist/client-v2/index.js +10 -0
- package/dist/externalVersion.js +21 -0
- package/dist/index.js +48 -0
- package/dist/locale/en-US.json +198 -0
- package/dist/locale/vi-VN.json +198 -0
- package/dist/locale/zh-CN.json +198 -0
- package/dist/node_modules/@elastic/elasticsearch/.dockerignore +11 -0
- package/dist/node_modules/@elastic/elasticsearch/LICENSE +202 -0
- package/dist/node_modules/@elastic/elasticsearch/NOTICE.txt +2 -0
- package/dist/node_modules/@elastic/elasticsearch/catalog-info.yaml +50 -0
- package/dist/node_modules/@elastic/elasticsearch/codecov.yml +14 -0
- package/dist/node_modules/@elastic/elasticsearch/index.d.ts +28 -0
- package/dist/node_modules/@elastic/elasticsearch/index.js +85525 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/async_search.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/async_search.js +155 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.js +130 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/bulk.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/bulk.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/capabilities.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/capabilities.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/cat.d.ts +193 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/cat.js +766 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ccr.d.ts +102 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ccr.js +395 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.js +56 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/cluster.d.ts +123 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/cluster.js +482 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/connector.d.ts +245 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/connector.js +1121 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/count.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/count.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/create.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/create.js +53 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.js +100 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/enrich.d.ts +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/enrich.js +169 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/eql.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/eql.js +139 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/esql.d.ts +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/esql.js +170 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/exists.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/exists.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/explain.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/explain.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/features.d.ts +25 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/features.js +75 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/fleet.d.ts +50 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/fleet.js +211 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_source.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_source.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/graph.d.ts +18 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/graph.js +70 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/health_report.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/health_report.js +54 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ilm.d.ts +88 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ilm.js +329 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/index.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/index.js +61 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/indices.d.ts +494 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/indices.js +2133 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/inference.d.ts +221 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/inference.js +1167 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/info.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/info.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ingest.d.ts +95 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ingest.js +389 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/knn_search.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/knn_search.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/license.d.ts +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/license.js +194 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/logstash.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/logstash.js +118 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/mget.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/mget.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/migration.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/migration.js +107 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ml.d.ts +522 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ml.js +2468 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.d.ts +18 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/msearch.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/msearch.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/msearch_template.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/msearch_template.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/mtermvectors.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/mtermvectors.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/nodes.d.ts +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/nodes.js +290 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/open_point_in_time.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/open_point_in_time.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ping.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ping.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/profiling.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/profiling.js +135 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/put_script.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/put_script.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/query_rules.d.ts +67 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/query_rules.js +260 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/rank_eval.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/rank_eval.js +67 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/reindex.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/reindex.js +56 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/reindex_rethrottle.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/reindex_rethrottle.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/render_search_template.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/render_search_template.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/rollup.d.ts +67 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/rollup.js +263 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/scripts_painless_execute.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/scripts_painless_execute.js +57 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/scroll.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/scroll.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search.js +75 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_application.d.ts +81 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_application.js +313 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_mvt.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_mvt.js +63 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_shards.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_shards.js +54 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_template.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_template.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/searchable_snapshots.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/searchable_snapshots.js +167 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/security.d.ts +459 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/security.js +1982 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/shutdown.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/shutdown.js +125 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/simulate.d.ts +18 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/simulate.js +78 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/slm.d.ts +74 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/slm.js +253 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/snapshot.d.ts +102 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/snapshot.js +410 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/sql.d.ts +53 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/sql.js +205 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ssl.d.ts +18 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ssl.js +54 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/streams.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/streams.js +96 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/synonyms.d.ts +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/synonyms.js +223 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/tasks.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/tasks.js +109 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/terms_enum.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/terms_enum.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/termvectors.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/termvectors.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/text_structure.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/text_structure.js +148 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/transform.d.ts +101 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/transform.js +386 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update_by_query.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update_by_query.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update_by_query_rethrottle.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update_by_query_rethrottle.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/watcher.d.ts +102 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/watcher.js +405 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/xpack.d.ts +25 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/xpack.js +75 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/index.d.ts +265 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/index.js +632 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/types.d.ts +19933 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/types.js +21 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/typesWithBodyKey.d.ts +20606 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/typesWithBodyKey.js +21 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/client.d.ts +152 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/client.js +369 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/helpers.d.ts +184 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/helpers.js +889 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/sniffingTransport.d.ts +4 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/sniffingTransport.js +56 -0
- package/dist/node_modules/@elastic/elasticsearch/node_modules/.bin/arrow2csv +15 -0
- package/dist/node_modules/@elastic/elasticsearch/node_modules/.bin/arrow2csv.cmd +7 -0
- package/dist/node_modules/@elastic/elasticsearch/package.json +1 -0
- package/dist/node_modules/@elastic/elasticsearch/tsconfig.json +38 -0
- package/dist/server/acl-guard.js +179 -0
- package/dist/server/collections/es-report-data-views.js +85 -0
- package/dist/server/collections/es-reports.js +101 -0
- package/dist/server/index.js +58 -0
- package/dist/server/mcp/ElasticReportMcpServer.js +344 -0
- package/dist/server/mcp/ElasticReportToolCatalog.js +639 -0
- package/dist/server/plugin.js +529 -0
- package/dist/server/services/ElasticReportService.js +377 -0
- package/dist/server/services/ElasticsearchConnectionService.js +572 -0
- package/dist/server/services/ReportExportService.js +243 -0
- package/dist/server/services/ReportQueryCompiler.js +1299 -0
- package/dist/server/workflow/ElasticReportQueryInstruction.js +123 -0
- package/dist/shared/constants.js +96 -0
- package/dist/shared/types.js +24 -0
- package/package.json +62 -4
- package/server.d.ts +2 -0
- package/server.js +1 -0
- package/src/client/index.tsx +34 -0
- package/src/client/workflow-instructions.tsx +44 -0
- package/src/client-v2/__tests__/elastic-report.test.tsx +791 -0
- package/src/client-v2/__tests__/kql-autocomplete.test.ts +178 -0
- package/src/client-v2/api.ts +320 -0
- package/src/client-v2/bus/DashboardFilterBus.ts +212 -0
- package/src/client-v2/components/ElasticBasicCharts.tsx +652 -0
- package/src/client-v2/components/ElasticFilterBar.tsx +372 -0
- package/src/client-v2/components/ElasticKqlInput.tsx +421 -0
- package/src/client-v2/components/ElasticReportBlock.tsx +306 -0
- package/src/client-v2/components/ElasticReportRenderer.tsx +1257 -0
- package/src/client-v2/components/HighlightText.tsx +50 -0
- package/src/client-v2/components/ReportSelect.tsx +85 -0
- package/src/client-v2/index.tsx +14 -0
- package/src/client-v2/locale.ts +23 -0
- package/src/client-v2/models/ElasticFilterBarBlockModel.tsx +115 -0
- package/src/client-v2/models/ElasticReportBlockModel.tsx +118 -0
- package/src/client-v2/pages/ElasticReportManager.tsx +1453 -0
- package/src/client-v2/plugin.tsx +72 -0
- package/src/client-v2/utils/kqlAutocomplete.ts +861 -0
- package/src/client-v2/workflow/instructions.tsx +149 -0
- package/src/index.ts +11 -0
- package/src/locale/en-US.json +198 -0
- package/src/locale/vi-VN.json +198 -0
- package/src/locale/zh-CN.json +198 -0
- package/src/server/__tests__/query-compiler.test.ts +620 -0
- package/src/server/__tests__/report-mcp-acl.integration.test.ts +645 -0
- package/src/server/acl-guard.ts +194 -0
- package/src/server/collections/es-report-data-views.ts +64 -0
- package/src/server/collections/es-reports.ts +80 -0
- package/src/server/index.ts +15 -0
- package/src/server/mcp/ElasticReportMcpServer.ts +391 -0
- package/src/server/mcp/ElasticReportToolCatalog.ts +663 -0
- package/src/server/plugin.ts +599 -0
- package/src/server/services/ElasticReportService.ts +486 -0
- package/src/server/services/ElasticsearchConnectionService.ts +728 -0
- package/src/server/services/ReportExportService.ts +282 -0
- package/src/server/services/ReportQueryCompiler.ts +1552 -0
- package/src/server/workflow/ElasticReportQueryInstruction.ts +124 -0
- package/src/shared/constants.ts +36 -0
- package/src/shared/types.ts +272 -0
- package/README.md +0 -3
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Elastic Report": "Báo cáo Elasticsearch",
|
|
3
|
+
"Elastic report settings": "Cấu hình khối báo cáo Elasticsearch",
|
|
4
|
+
"Select report": "Chọn báo cáo",
|
|
5
|
+
"Report": "Báo cáo",
|
|
6
|
+
"Show interactive toolbar": "Hiển thị thanh tìm kiếm & lọc tương tác",
|
|
7
|
+
"Compact layout": "Giao diện thu gọn",
|
|
8
|
+
"Reports": "Danh sách Báo cáo",
|
|
9
|
+
"Data Views": "Data Views (Index Patterns)",
|
|
10
|
+
"MCP & AI Employee": "MCP & AI Employee",
|
|
11
|
+
"New Report": "Tạo báo cáo mới",
|
|
12
|
+
"Edit Report": "Chỉnh sửa báo cáo",
|
|
13
|
+
"New Data View": "Tạo Data View mới",
|
|
14
|
+
"Edit Data View": "Chỉnh sửa Data View",
|
|
15
|
+
"Title": "Tiêu đề",
|
|
16
|
+
"Description": "Mô tả",
|
|
17
|
+
"Data Source (Elasticsearch)": "Kết nối Elasticsearch",
|
|
18
|
+
"Index Pattern": "Index Pattern",
|
|
19
|
+
"Time Field": "Trường thời gian",
|
|
20
|
+
"Browse Indices": "Xem các Index khớp",
|
|
21
|
+
"Matching Indices": "Các Index khớp",
|
|
22
|
+
"Fields": "Số trường",
|
|
23
|
+
"Refresh Fields": "Làm mới danh sách trường",
|
|
24
|
+
"Visualization": "Kiểu hiển thị",
|
|
25
|
+
"Table (Discover)": "Bảng dữ liệu (Discover)",
|
|
26
|
+
"Bar Chart": "Biểu đồ cột (Bar)",
|
|
27
|
+
"Line Chart": "Biểu đồ đường (Line)",
|
|
28
|
+
"Area Chart": "Biểu đồ miền (Area)",
|
|
29
|
+
"Pie Chart": "Biểu đồ tròn (Pie)",
|
|
30
|
+
"Metric KPI": "Thẻ chỉ số (Metric KPI)",
|
|
31
|
+
"Data View": "Data View",
|
|
32
|
+
"Published": "Đã xuất bản",
|
|
33
|
+
"Draft": "Bản nháp",
|
|
34
|
+
"Allow interactive search/filter on block": "Cho phép người xem lọc/sort/search trực tiếp trên Block",
|
|
35
|
+
"Show time histogram above table": "Hiển thị biểu đồ phân bố thời gian phía trên bảng",
|
|
36
|
+
"KQL / Search Query": "Truy vấn KQL / Tìm kiếm",
|
|
37
|
+
"Search KQL, e.g. status >= 500 AND service: \"api\"": "Nhập KQL, ví dụ: status >= 500 AND service: \"api\"",
|
|
38
|
+
"Search": "Tìm kiếm",
|
|
39
|
+
"Reset": "Đặt lại",
|
|
40
|
+
"Refresh": "Làm mới",
|
|
41
|
+
"Inspect DSL": "Xem DSL",
|
|
42
|
+
"Elasticsearch Query DSL": "Truy vấn Elasticsearch DSL",
|
|
43
|
+
"Add Filter": "Thêm bộ lọc",
|
|
44
|
+
"Edit Filter": "Sửa bộ lọc",
|
|
45
|
+
"Field": "Trường",
|
|
46
|
+
"Operator": "Toán tử",
|
|
47
|
+
"Value": "Giá trị",
|
|
48
|
+
"To Value": "Đến giá trị",
|
|
49
|
+
"Apply": "Áp dụng",
|
|
50
|
+
"Cancel": "Hủy",
|
|
51
|
+
"Save": "Lưu",
|
|
52
|
+
"Delete": "Xóa",
|
|
53
|
+
"Edit": "Sửa",
|
|
54
|
+
"Preview": "Xem trước",
|
|
55
|
+
"Run Preview": "Chạy thử",
|
|
56
|
+
"Sort": "Sắp xếp",
|
|
57
|
+
"Add Sort": "Thêm sắp xếp",
|
|
58
|
+
"Ascending": "Tăng dần",
|
|
59
|
+
"Descending": "Giảm dần",
|
|
60
|
+
"Columns": "Cột hiển thị",
|
|
61
|
+
"Auto-detect columns from documents": "Tự động chọn cột từ dữ liệu trả về",
|
|
62
|
+
"Page Size": "Số dòng mỗi trang",
|
|
63
|
+
"Bucket Type": "Kiểu nhóm (Bucket)",
|
|
64
|
+
"Date Histogram": "Theo mốc thời gian (Date Histogram)",
|
|
65
|
+
"Top Terms": "Theo giá trị phổ biến (Top Terms)",
|
|
66
|
+
"Bucket Field": "Trường nhóm",
|
|
67
|
+
"Interval": "Khoảng thời gian",
|
|
68
|
+
"Top N": "Số nhóm tối đa (Top N)",
|
|
69
|
+
"Metric": "Phép tính (Metric)",
|
|
70
|
+
"Metric Field": "Trường tính toán",
|
|
71
|
+
"Metric Label": "Nhãn chỉ số",
|
|
72
|
+
"Last 15 minutes": "15 phút qua",
|
|
73
|
+
"Last 1 hour": "1 giờ qua",
|
|
74
|
+
"Last 24 hours": "24 giờ qua",
|
|
75
|
+
"Last 7 days": "7 ngày qua",
|
|
76
|
+
"Last 30 days": "30 ngày qua",
|
|
77
|
+
"Last 90 days": "90 ngày qua",
|
|
78
|
+
"All time": "Toàn bộ thời gian",
|
|
79
|
+
"Custom range": "Khoảng tùy chỉnh",
|
|
80
|
+
"From": "Từ mốc",
|
|
81
|
+
"To": "Đến mốc",
|
|
82
|
+
"Allowed Roles": "Các Role được phép xem",
|
|
83
|
+
"Leave empty to allow all authenticated users": "Để trống để cho phép mọi người dùng đăng nhập",
|
|
84
|
+
"All roles": "Mọi role",
|
|
85
|
+
"Locked Security Filters (Server-enforced)": "Bộ lọc bảo mật bắt buộc ở Server (Người xem không thể xóa)",
|
|
86
|
+
"Add Locked Filter": "Thêm bộ lọc khóa",
|
|
87
|
+
"Locked filter": "Bộ lọc khóa",
|
|
88
|
+
"Partial results warning": "Cảnh báo dữ liệu chưa đầy đủ",
|
|
89
|
+
"Query timed out; displayed results may be incomplete.": "Truy vấn quá thời gian chờ, dữ liệu hiển thị có thể chưa đầy đủ.",
|
|
90
|
+
"Failed shards": "Shard lỗi",
|
|
91
|
+
"Elastic Filter Bar": "Thanh lọc Dashboard Elasticsearch",
|
|
92
|
+
"Elastic filter bar settings": "Cấu hình thanh lọc Dashboard Elasticsearch",
|
|
93
|
+
"Sync Group": "Nhóm đồng bộ (Sync Group)",
|
|
94
|
+
"Subscribe to dashboard filter bar": "Đồng bộ với Thanh lọc Dashboard trên trang",
|
|
95
|
+
"Filter Fields (comma-separated, e.g. service, region)": "Danh sách trường lọc nhanh (cách nhau dấu phẩy, vd: service, region)",
|
|
96
|
+
"Show global KQL input": "Hiển thị ô KQL dùng chung",
|
|
97
|
+
"Show global time range": "Hiển thị chọn thời gian dùng chung",
|
|
98
|
+
"Dashboard filter": "Lọc chung",
|
|
99
|
+
"Clear dashboard filters": "Xóa lọc chung",
|
|
100
|
+
"Auto refresh": "Tự động làm mới",
|
|
101
|
+
"Off": "Tắt",
|
|
102
|
+
"Fields Explorer": "Khám phá Trường",
|
|
103
|
+
"Top values": "Giá trị phổ biến",
|
|
104
|
+
"Filter for value": "Lọc giữ giá trị này (+)",
|
|
105
|
+
"Filter out value": "Loại trừ giá trị này (-)",
|
|
106
|
+
"Visible Columns": "Cột đang hiển thị",
|
|
107
|
+
"Move up": "Đưa lên",
|
|
108
|
+
"Move down": "Đưa xuống",
|
|
109
|
+
"Split Series Field": "Trường chia chuỗi (Split Series)",
|
|
110
|
+
"Stack Mode": "Chế độ xếp chồng",
|
|
111
|
+
"Grouped": "Tách cột (Grouped)",
|
|
112
|
+
"Stacked": "Xếp chồng (Stacked)",
|
|
113
|
+
"100% Stacked": "Xếp chồng tỷ lệ (100%)",
|
|
114
|
+
"Compare previous period": "So sánh với kỳ liền trước",
|
|
115
|
+
"vs previous period": "so với kỳ trước",
|
|
116
|
+
"Field Formats": "Định dạng hiển thị trường",
|
|
117
|
+
"Add Field Format": "Thêm định dạng trường",
|
|
118
|
+
"Format": "Định dạng",
|
|
119
|
+
"Auto": "Tự động",
|
|
120
|
+
"Duration (ms)": "Thời gian trễ (ms)",
|
|
121
|
+
"Bytes": "Dung lượng (Bytes)",
|
|
122
|
+
"Percent (%)": "Phần trăm (%)",
|
|
123
|
+
"Number": "Số có phân tách",
|
|
124
|
+
"Status Badge": "Nhãn trạng thái (HTTP/Level)",
|
|
125
|
+
"URL Link": "Liên kết URL",
|
|
126
|
+
"Record Context Bindings": "Liên kết bản ghi NocoBase hiện tại",
|
|
127
|
+
"Add Context Binding": "Thêm liên kết bản ghi",
|
|
128
|
+
"Record Field Path": "Đường dẫn trường bản ghi (vd: id, orderNo)",
|
|
129
|
+
"Allow data export on block": "Cho phép xuất CSV/NDJSON trên Block",
|
|
130
|
+
"Export CSV": "Xuất CSV",
|
|
131
|
+
"Export NDJSON": "Xuất NDJSON",
|
|
132
|
+
"Query Elasticsearch Report": "Truy vấn Báo cáo Elasticsearch",
|
|
133
|
+
"Execute a Saved Elasticsearch Report and evaluate threshold conditions for scheduled alerts or reports.": "Thực thi Báo cáo Elasticsearch đã lưu và kiểm tra điều kiện ngưỡng cho luồng cảnh báo hoặc báo cáo định kỳ.",
|
|
134
|
+
"Threshold Metric": "Chỉ số kiểm tra ngưỡng",
|
|
135
|
+
"Threshold Operator": "Toán tử ngưỡng",
|
|
136
|
+
"Threshold Value": "Giá trị ngưỡng",
|
|
137
|
+
"Total Hits": "Tổng bản ghi khớp",
|
|
138
|
+
"Metric Value": "Giá trị chỉ số",
|
|
139
|
+
"Delta (%)": "Chênh lệch kỳ trước (%)",
|
|
140
|
+
"Threshold Breached": "Vượt ngưỡng cảnh báo",
|
|
141
|
+
"Top Buckets": "Danh sách nhóm đầu",
|
|
142
|
+
"Sample Rows": "Dòng dữ liệu mẫu",
|
|
143
|
+
"Executed At": "Thời điểm chạy",
|
|
144
|
+
"Document Details": "Chi tiết bản ghi",
|
|
145
|
+
"Table View": "Dạng bảng",
|
|
146
|
+
"JSON View": "Dạng JSON",
|
|
147
|
+
"Show data table": "Xem bảng số liệu",
|
|
148
|
+
"Show chart": "Xem biểu đồ",
|
|
149
|
+
"Select a saved Elastic Report in block settings to display data": "Hãy chọn một Báo cáo Elasticsearch trong phần cấu hình Block để hiển thị dữ liệu",
|
|
150
|
+
"No matching documents": "Không có dữ liệu khớp điều kiện",
|
|
151
|
+
"Saved successfully": "Đã lưu thành công",
|
|
152
|
+
"Deleted successfully": "Đã xóa thành công",
|
|
153
|
+
"Copied to clipboard": "Đã sao chép",
|
|
154
|
+
"Copy": "Sao chép",
|
|
155
|
+
"Confirm delete?": "Xác nhận xóa?",
|
|
156
|
+
"Hits": "Bản ghi khớp",
|
|
157
|
+
"Next cursor page": "Trang kế tiếp (cursor)",
|
|
158
|
+
"First page": "Về trang đầu",
|
|
159
|
+
"Dedicated MCP Endpoint": "Endpoint MCP riêng của Plugin",
|
|
160
|
+
"MCP Server Name": "Tên MCP Server",
|
|
161
|
+
"Exposed MCP Tools": "Danh sách MCP Tools",
|
|
162
|
+
"AI Employee Usage": "Hướng dẫn cho AI Employee",
|
|
163
|
+
"This plugin automatically registers the elastic-report MCP server (with user context) and AI Employee tools so AI agents can inspect fields, preview Elasticsearch queries, and publish Saved Reports ready to select in blocks.": "Plugin tự động đăng ký MCP server elastic-report (kèm user context) và bộ công cụ AI Employee để AI tự khám phá trường dữ liệu, chạy thử truy vấn Elasticsearch và xuất bản Báo cáo sẵn sàng chọn trong Block.",
|
|
164
|
+
"Type keywords freely or select a field below": "Gõ từ khóa tự do hoặc chọn trường dữ liệu bên dưới",
|
|
165
|
+
"Suggested Fields": "Trường dữ liệu gợi ý",
|
|
166
|
+
"Comparisons & Operators": "Phép so sánh",
|
|
167
|
+
"Suggested Values": "Giá trị gợi ý từ dữ liệu",
|
|
168
|
+
"Combine Conditions": "Kết hợp điều kiện",
|
|
169
|
+
"Free-text Search": "Tìm kiếm tự do",
|
|
170
|
+
"Loading field values...": "Đang tải giá trị phổ biến...",
|
|
171
|
+
"Choose comparison (=, >=, <=...)": "Chọn phép so sánh (=, >=, <=...)",
|
|
172
|
+
"Filter by field value": "Lọc theo giá trị trường này",
|
|
173
|
+
"Equals (=)": "Bằng giá trị (=)",
|
|
174
|
+
"Equals or contains (: )": "Bằng hoặc chứa giá trị (: )",
|
|
175
|
+
"Greater than or equal (>=)": "Lớn hơn hoặc bằng (>=)",
|
|
176
|
+
"Less than or equal (<=)": "Nhỏ hơn hoặc bằng (<=)",
|
|
177
|
+
"Greater than (>)": "Lớn hơn (>)",
|
|
178
|
+
"Less than (<)": "Nhỏ hơn (<)",
|
|
179
|
+
"Match multiple values (OR)": "Khớp một trong nhiều giá trị (OR)",
|
|
180
|
+
"Has any value (exists)": "Có tồn tại dữ liệu (không rỗng)",
|
|
181
|
+
"Exclude matching records": "Loại trừ bản ghi khớp điều kiện",
|
|
182
|
+
"Search text across all fields (Press Enter)": "Tìm tự do trên mọi trường (Nhấn Enter)",
|
|
183
|
+
"Boolean true": "Giá trị Đúng (true)",
|
|
184
|
+
"Boolean false": "Giá trị Sai (false)",
|
|
185
|
+
"Suggested value from data": "Giá trị phổ biến trong Elasticsearch",
|
|
186
|
+
"Sample value from loaded rows": "Giá trị mẫu đang hiển thị",
|
|
187
|
+
"Finish value group": "Đóng nhóm giá trị",
|
|
188
|
+
"Add another value to group": "Thêm giá trị khác vào nhóm (OR)",
|
|
189
|
+
"Exclude value in group": "Loại trừ giá trị trong nhóm",
|
|
190
|
+
"Combine another condition (both match)": "Và điều kiện tiếp theo (khớp cả hai)",
|
|
191
|
+
"Match either condition": "Hoặc điều kiện khác (khớp một trong hai)",
|
|
192
|
+
"Exclude next condition": "Và loại trừ điều kiện tiếp theo",
|
|
193
|
+
"Close condition group": "Đóng ngoặc nhóm điều kiện",
|
|
194
|
+
"Test Connection": "Kiểm tra kết nối",
|
|
195
|
+
"Connection verified": "Kết nối hợp lệ",
|
|
196
|
+
"Index-scoped role": "Quyền phạm vi Index",
|
|
197
|
+
"Configure Elasticsearch 8.x TLS, CA Fingerprint, API Key, or Bearer Token in Data Source Manager": "Cấu hình chi tiết TLS, CA Fingerprint, API Key hoặc Bearer Token của Elasticsearch 8.x tại Quản lý Nguồn dữ liệu (Data Source Manager)"
|
|
198
|
+
}
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
{
|
|
2
|
+
"Elastic Report": "Elasticsearch 报表",
|
|
3
|
+
"Elastic report settings": "Elasticsearch 报表配置",
|
|
4
|
+
"Select report": "选择报表",
|
|
5
|
+
"Report": "报表",
|
|
6
|
+
"Show interactive toolbar": "显示交互式检索工具栏",
|
|
7
|
+
"Compact layout": "紧凑布局",
|
|
8
|
+
"Reports": "报表管理",
|
|
9
|
+
"Data Views": "数据视图 (Data Views)",
|
|
10
|
+
"MCP & AI Employee": "MCP 与 AI 员工",
|
|
11
|
+
"New Report": "新建报表",
|
|
12
|
+
"Edit Report": "编辑报表",
|
|
13
|
+
"New Data View": "新建数据视图",
|
|
14
|
+
"Edit Data View": "编辑数据视图",
|
|
15
|
+
"Title": "标题",
|
|
16
|
+
"Description": "描述",
|
|
17
|
+
"Data Source (Elasticsearch)": "数据源 (Elasticsearch)",
|
|
18
|
+
"Index Pattern": "索引模式 (Index Pattern)",
|
|
19
|
+
"Time Field": "时间字段",
|
|
20
|
+
"Browse Indices": "查看匹配索引",
|
|
21
|
+
"Matching Indices": "匹配的索引",
|
|
22
|
+
"Fields": "字段数",
|
|
23
|
+
"Refresh Fields": "刷新字段元数据",
|
|
24
|
+
"Visualization": "可视化类型",
|
|
25
|
+
"Table (Discover)": "数据表 (Discover)",
|
|
26
|
+
"Bar Chart": "柱状图",
|
|
27
|
+
"Line Chart": "折线图",
|
|
28
|
+
"Area Chart": "面积图",
|
|
29
|
+
"Pie Chart": "饼图",
|
|
30
|
+
"Metric KPI": "指标卡 (KPI)",
|
|
31
|
+
"Data View": "数据视图",
|
|
32
|
+
"Published": "已发布",
|
|
33
|
+
"Draft": "草稿",
|
|
34
|
+
"Allow interactive search/filter on block": "允许在区块中交互式搜索与筛选",
|
|
35
|
+
"Show time histogram above table": "在表格上方显示时间直方图",
|
|
36
|
+
"KQL / Search Query": "KQL / 搜索语句",
|
|
37
|
+
"Search KQL, e.g. status >= 500 AND service: \"api\"": "输入 KQL,例如 status >= 500 AND service: \"api\"",
|
|
38
|
+
"Search": "检索",
|
|
39
|
+
"Reset": "重置",
|
|
40
|
+
"Refresh": "刷新",
|
|
41
|
+
"Inspect DSL": "查看 DSL",
|
|
42
|
+
"Elasticsearch Query DSL": "Elasticsearch 查询 DSL",
|
|
43
|
+
"Add Filter": "添加筛选",
|
|
44
|
+
"Edit Filter": "编辑筛选",
|
|
45
|
+
"Field": "字段",
|
|
46
|
+
"Operator": "操作符",
|
|
47
|
+
"Value": "值",
|
|
48
|
+
"To Value": "结束值",
|
|
49
|
+
"Apply": "应用",
|
|
50
|
+
"Cancel": "取消",
|
|
51
|
+
"Save": "保存",
|
|
52
|
+
"Delete": "删除",
|
|
53
|
+
"Edit": "编辑",
|
|
54
|
+
"Preview": "预览",
|
|
55
|
+
"Run Preview": "运行预览",
|
|
56
|
+
"Sort": "排序",
|
|
57
|
+
"Add Sort": "添加排序",
|
|
58
|
+
"Ascending": "升序",
|
|
59
|
+
"Descending": "降序",
|
|
60
|
+
"Columns": "显示列",
|
|
61
|
+
"Auto-detect columns from documents": "自动从文档提取列",
|
|
62
|
+
"Page Size": "每页条数",
|
|
63
|
+
"Bucket Type": "分桶方式",
|
|
64
|
+
"Date Histogram": "时间直方图",
|
|
65
|
+
"Top Terms": "分组统计 (Terms)",
|
|
66
|
+
"Bucket Field": "分组字段",
|
|
67
|
+
"Interval": "时间间隔",
|
|
68
|
+
"Top N": "前 N 项",
|
|
69
|
+
"Metric": "指标聚合",
|
|
70
|
+
"Metric Field": "指标字段",
|
|
71
|
+
"Metric Label": "指标名称",
|
|
72
|
+
"Last 15 minutes": "最近 15 分钟",
|
|
73
|
+
"Last 1 hour": "最近 1 小时",
|
|
74
|
+
"Last 24 hours": "最近 24 小时",
|
|
75
|
+
"Last 7 days": "最近 7 天",
|
|
76
|
+
"Last 30 days": "最近 30 天",
|
|
77
|
+
"Last 90 days": "最近 90 天",
|
|
78
|
+
"All time": "全部时间",
|
|
79
|
+
"Custom range": "自定义时间范围",
|
|
80
|
+
"From": "开始时间",
|
|
81
|
+
"To": "结束时间",
|
|
82
|
+
"Allowed Roles": "允许访问的角色",
|
|
83
|
+
"Leave empty to allow all authenticated users": "留空则允许所有登录用户查看",
|
|
84
|
+
"All roles": "全部角色",
|
|
85
|
+
"Locked Security Filters (Server-enforced)": "服务端强制安全筛选 (不可被访客覆盖)",
|
|
86
|
+
"Add Locked Filter": "添加强制筛选",
|
|
87
|
+
"Locked filter": "强制筛选",
|
|
88
|
+
"Partial results warning": "部分分片或超时告警",
|
|
89
|
+
"Query timed out; displayed results may be incomplete.": "查询超时,当前展示的数据可能不完整。",
|
|
90
|
+
"Failed shards": "失败分片",
|
|
91
|
+
"Elastic Filter Bar": "Elasticsearch 仪表盘筛选栏",
|
|
92
|
+
"Elastic filter bar settings": "Elasticsearch 筛选栏配置",
|
|
93
|
+
"Sync Group": "同步分组 (Sync Group)",
|
|
94
|
+
"Subscribe to dashboard filter bar": "联动同页筛选栏",
|
|
95
|
+
"Filter Fields (comma-separated, e.g. service, region)": "下拉筛选字段 (逗号分隔,如 service, region)",
|
|
96
|
+
"Show global KQL input": "显示全局 KQL 输入框",
|
|
97
|
+
"Show global time range": "显示全局时间范围",
|
|
98
|
+
"Dashboard filter": "全局筛选",
|
|
99
|
+
"Clear dashboard filters": "清空全局筛选",
|
|
100
|
+
"Auto refresh": "自动刷新",
|
|
101
|
+
"Off": "关闭",
|
|
102
|
+
"Fields Explorer": "字段探查",
|
|
103
|
+
"Top values": "高频值分布",
|
|
104
|
+
"Filter for value": "筛选等于该值 (+)",
|
|
105
|
+
"Filter out value": "排除该值 (-)",
|
|
106
|
+
"Visible Columns": "显示列调整",
|
|
107
|
+
"Move up": "上移",
|
|
108
|
+
"Move down": "下移",
|
|
109
|
+
"Split Series Field": "二次分组字段 (Split Series)",
|
|
110
|
+
"Stack Mode": "堆叠模式",
|
|
111
|
+
"Grouped": "并列分组",
|
|
112
|
+
"Stacked": "数值堆叠",
|
|
113
|
+
"100% Stacked": "百分比堆叠 (100%)",
|
|
114
|
+
"Compare previous period": "对比上一周期",
|
|
115
|
+
"vs previous period": "较上一周期",
|
|
116
|
+
"Field Formats": "字段显示格式",
|
|
117
|
+
"Add Field Format": "添加格式规则",
|
|
118
|
+
"Format": "格式",
|
|
119
|
+
"Auto": "自动",
|
|
120
|
+
"Duration (ms)": "耗时 (ms)",
|
|
121
|
+
"Bytes": "字节 (Bytes)",
|
|
122
|
+
"Percent (%)": "百分比 (%)",
|
|
123
|
+
"Number": "千分位数字",
|
|
124
|
+
"Status Badge": "状态徽章",
|
|
125
|
+
"URL Link": "超链接",
|
|
126
|
+
"Record Context Bindings": "当前记录上下文绑定",
|
|
127
|
+
"Add Context Binding": "添加上下文绑定",
|
|
128
|
+
"Record Field Path": "NocoBase 记录字段路径",
|
|
129
|
+
"Allow data export on block": "允许在区块中导出数据",
|
|
130
|
+
"Export CSV": "导出 CSV",
|
|
131
|
+
"Export NDJSON": "导出 NDJSON",
|
|
132
|
+
"Query Elasticsearch Report": "查询 Elasticsearch 报表",
|
|
133
|
+
"Execute a Saved Elasticsearch Report and evaluate threshold conditions for scheduled alerts or reports.": "执行已保存的 Elasticsearch 报表并评估阈值条件,用于定时报表或告警工作流。",
|
|
134
|
+
"Threshold Metric": "阈值评估指标",
|
|
135
|
+
"Threshold Operator": "阈值比较符",
|
|
136
|
+
"Threshold Value": "阈值数值",
|
|
137
|
+
"Total Hits": "总命中数",
|
|
138
|
+
"Metric Value": "聚合指标值",
|
|
139
|
+
"Delta (%)": "环比变化 (%)",
|
|
140
|
+
"Threshold Breached": "是否触发阈值",
|
|
141
|
+
"Top Buckets": "前序分桶结果",
|
|
142
|
+
"Sample Rows": "样本记录",
|
|
143
|
+
"Executed At": "执行时间",
|
|
144
|
+
"Document Details": "文档详情",
|
|
145
|
+
"Table View": "字段表格",
|
|
146
|
+
"JSON View": "原始 JSON",
|
|
147
|
+
"Show data table": "查看数据表",
|
|
148
|
+
"Show chart": "查看图表",
|
|
149
|
+
"Select a saved Elastic Report in block settings to display data": "请在区块配置中选择已保存的 Elasticsearch 报表",
|
|
150
|
+
"No matching documents": "没有匹配的文档",
|
|
151
|
+
"Saved successfully": "保存成功",
|
|
152
|
+
"Deleted successfully": "删除成功",
|
|
153
|
+
"Copied to clipboard": "已复制到剪贴板",
|
|
154
|
+
"Copy": "复制",
|
|
155
|
+
"Confirm delete?": "确认删除?",
|
|
156
|
+
"Hits": "命中数",
|
|
157
|
+
"Next cursor page": "下一页 (游标)",
|
|
158
|
+
"First page": "返回首页",
|
|
159
|
+
"Dedicated MCP Endpoint": "插件专属 MCP 端点",
|
|
160
|
+
"MCP Server Name": "MCP 服务名称",
|
|
161
|
+
"Exposed MCP Tools": "已暴露的 MCP 工具",
|
|
162
|
+
"AI Employee Usage": "AI 员工使用说明",
|
|
163
|
+
"This plugin automatically registers the elastic-report MCP server (with user context) and AI Employee tools so AI agents can inspect fields, preview Elasticsearch queries, and publish Saved Reports ready to select in blocks.": "本插件会自动注册携带用户上下文的 elastic-report MCP 服务与 AI 员工工具,支持 AI 自动探查字段、预览 Elasticsearch 查询并发布可在页面区块中直接选用的报表。",
|
|
164
|
+
"Type keywords freely or select a field below": "可直接输入关键字,或从下方选择字段引导构建查询",
|
|
165
|
+
"Suggested Fields": "推荐字段",
|
|
166
|
+
"Comparisons & Operators": "比较与操作符",
|
|
167
|
+
"Suggested Values": "推荐字段值",
|
|
168
|
+
"Combine Conditions": "组合条件",
|
|
169
|
+
"Free-text Search": "全文自由检索",
|
|
170
|
+
"Loading field values...": "正在加载字段高频值...",
|
|
171
|
+
"Choose comparison (=, >=, <=...)": "选择比较符号 (=, >=, <=...)",
|
|
172
|
+
"Filter by field value": "按该字段值筛选",
|
|
173
|
+
"Equals (=)": "等于 (=)",
|
|
174
|
+
"Equals or contains (: )": "等于或包含 (: )",
|
|
175
|
+
"Greater than or equal (>=)": "大于等于 (>=)",
|
|
176
|
+
"Less than or equal (<=)": "小于等于 (<=)",
|
|
177
|
+
"Greater than (>)": "大于 (>)",
|
|
178
|
+
"Less than (<)": "小于 (<)",
|
|
179
|
+
"Match multiple values (OR)": "匹配多个值之一 (OR)",
|
|
180
|
+
"Has any value (exists)": "字段非空 (exists)",
|
|
181
|
+
"Exclude matching records": "排除匹配记录",
|
|
182
|
+
"Search text across all fields (Press Enter)": "跨所有字段自由搜索 (按回车)",
|
|
183
|
+
"Boolean true": "布尔真 (true)",
|
|
184
|
+
"Boolean false": "布尔假 (false)",
|
|
185
|
+
"Suggested value from data": "来自 Elasticsearch 的高频值",
|
|
186
|
+
"Sample value from loaded rows": "来自当前表格的样本值",
|
|
187
|
+
"Finish value group": "结束多值分组",
|
|
188
|
+
"Add another value to group": "在分组中追加其他值 (OR)",
|
|
189
|
+
"Exclude value in group": "在分组中排除值",
|
|
190
|
+
"Combine another condition (both match)": "并且满足下一条件 (AND)",
|
|
191
|
+
"Match either condition": "或者满足另一条件 (OR)",
|
|
192
|
+
"Exclude next condition": "并且排除下一条件 (AND NOT)",
|
|
193
|
+
"Close condition group": "闭合条件括号",
|
|
194
|
+
"Test Connection": "测试连接",
|
|
195
|
+
"Connection verified": "连接已验证",
|
|
196
|
+
"Index-scoped role": "索引级受限权限",
|
|
197
|
+
"Configure Elasticsearch 8.x TLS, CA Fingerprint, API Key, or Bearer Token in Data Source Manager": "可在数据源管理中配置 Elasticsearch 8.x 的 TLS、CA 指纹、API 密钥或 Bearer 令牌"
|
|
198
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright 2020 Elastic and contributors
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|