plugin-elastic-report 0.1.1 → 0.9.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.
Files changed (80) hide show
  1. package/client-v2.d.ts +2 -2
  2. package/client-v2.js +1 -1
  3. package/client.d.ts +2 -2
  4. package/client.js +1 -1
  5. package/dist/ai/skills/elastic-report/SKILLS.md +52 -0
  6. package/dist/client/357.0dd385384cab5dbf.js +10 -0
  7. package/dist/client/index.js +1 -1
  8. package/dist/client-v2/851.35e416bfb3fb565f.js +10 -0
  9. package/dist/client-v2/857.a5bf9637d5fd4ef5.js +10 -0
  10. package/dist/client-v2/877.81b10beb7b7f4bd7.js +10 -0
  11. package/dist/client-v2/index.js +1 -1
  12. package/dist/externalVersion.js +5 -3
  13. package/dist/locale/en-US.json +213 -99
  14. package/dist/locale/vi-VN.json +213 -99
  15. package/dist/locale/zh-CN.json +213 -99
  16. package/dist/node_modules/@elastic/elasticsearch/package.json +1 -1
  17. package/dist/server/acl-guard.js +97 -25
  18. package/dist/server/collections/es-report-data-views.js +6 -0
  19. package/dist/server/collections/es-reports.js +6 -0
  20. package/dist/server/mcp/ElasticReportToolCatalog.js +238 -14
  21. package/dist/server/plugin.js +156 -22
  22. package/dist/server/report-block-tools.js +340 -0
  23. package/dist/server/services/ElasticReportService.js +137 -17
  24. package/dist/server/services/ElasticsearchConnectionService.js +274 -34
  25. package/dist/server/services/ReportExportService.js +243 -0
  26. package/dist/server/services/ReportQueryCompiler.js +532 -91
  27. package/dist/server/workflow/ElasticReportQueryInstruction.js +123 -0
  28. package/dist/shared/constants.js +26 -2
  29. package/package.json +3 -3
  30. package/server.d.ts +2 -2
  31. package/server.js +1 -1
  32. package/src/ai/skills/elastic-report/SKILLS.md +52 -0
  33. package/src/client/index.tsx +34 -19
  34. package/src/client/workflow-instructions.tsx +44 -0
  35. package/src/client-v2/__tests__/elastic-report.test.tsx +879 -311
  36. package/src/client-v2/__tests__/kql-autocomplete.test.ts +178 -0
  37. package/src/client-v2/api.ts +320 -224
  38. package/src/client-v2/bus/DashboardFilterBus.ts +212 -0
  39. package/src/client-v2/components/ElasticBasicCharts.tsx +652 -399
  40. package/src/client-v2/components/ElasticFilterBar.tsx +372 -0
  41. package/src/client-v2/components/ElasticKqlInput.tsx +421 -0
  42. package/src/client-v2/components/ElasticReportBlock.tsx +306 -160
  43. package/src/client-v2/components/ElasticReportRenderer.tsx +1257 -707
  44. package/src/client-v2/components/HighlightText.tsx +50 -50
  45. package/src/client-v2/components/ReportSelect.tsx +85 -72
  46. package/src/client-v2/index.tsx +14 -14
  47. package/src/client-v2/locale.ts +23 -23
  48. package/src/client-v2/models/ElasticFilterBarBlockModel.tsx +115 -0
  49. package/src/client-v2/models/ElasticReportBlockModel.tsx +118 -85
  50. package/src/client-v2/pages/ElasticReportManager.tsx +1453 -1047
  51. package/src/client-v2/plugin.tsx +107 -52
  52. package/src/client-v2/report-destination.tsx +126 -0
  53. package/src/client-v2/utils/kqlAutocomplete.ts +861 -0
  54. package/src/client-v2/workflow/instructions.tsx +149 -0
  55. package/src/index.ts +11 -11
  56. package/src/locale/en-US.json +213 -99
  57. package/src/locale/vi-VN.json +213 -99
  58. package/src/locale/zh-CN.json +213 -99
  59. package/src/server/__tests__/ai-blocks.integration.test.ts +292 -0
  60. package/src/server/__tests__/query-compiler.test.ts +620 -231
  61. package/src/server/__tests__/report-mcp-acl.integration.test.ts +645 -377
  62. package/src/server/acl-guard.ts +194 -103
  63. package/src/server/collections/es-report-data-views.ts +64 -58
  64. package/src/server/collections/es-reports.ts +80 -74
  65. package/src/server/index.ts +15 -15
  66. package/src/server/mcp/ElasticReportMcpServer.ts +391 -391
  67. package/src/server/mcp/ElasticReportToolCatalog.ts +667 -417
  68. package/src/server/plugin.ts +599 -431
  69. package/src/server/report-block-tools.ts +400 -0
  70. package/src/server/services/ElasticReportService.ts +494 -326
  71. package/src/server/services/ElasticsearchConnectionService.ts +728 -401
  72. package/src/server/services/ReportExportService.ts +282 -0
  73. package/src/server/services/ReportQueryCompiler.ts +1552 -1017
  74. package/src/server/workflow/ElasticReportQueryInstruction.ts +124 -0
  75. package/src/shared/constants.ts +39 -29
  76. package/src/shared/types.ts +272 -175
  77. package/ai/skills/elastic-report/SKILLS.md +0 -32
  78. package/dist/client-v2/851.488fdbf5bc5b6a36.js +0 -10
  79. package/dist/node_modules/@elastic/elasticsearch/node_modules/.bin/arrow2csv +0 -15
  80. package/dist/node_modules/@elastic/elasticsearch/node_modules/.bin/arrow2csv.cmd +0 -7
@@ -0,0 +1,149 @@
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ import { BarChartOutlined } from '@ant-design/icons';
11
+ import {
12
+ Instruction,
13
+ NodeDefaultView,
14
+ type FlowNodeModel,
15
+ type VariableOption,
16
+ } from '@nocobase/plugin-workflow/client-v2';
17
+ import { Form, Input, InputNumber, Select, Space, Tag } from 'antd';
18
+ import React from 'react';
19
+ import { WORKFLOW_GROUP_KEY, WORKFLOW_INSTRUCTION_TYPE } from '../../shared/constants';
20
+ import type { ElasticWorkflowNodeConfig } from '../../shared/types';
21
+ import { ReportSelect } from '../components/ReportSelect';
22
+ import { tExpr, useT } from '../locale';
23
+
24
+ export interface WorkflowClientRegistry {
25
+ registerInstructionGroup(key: string, group: { key: string; label: string }): void;
26
+ registerInstruction(type: string, instruction: { new (): Instruction }): void;
27
+ }
28
+
29
+ export function buildElasticReportWorkflowVariables(node: { key: string; title: string }): VariableOption {
30
+ return {
31
+ value: node.key,
32
+ label: node.title,
33
+ children: [
34
+ { value: 'total', label: tExpr('Total Hits') },
35
+ { value: 'metricValue', label: tExpr('Metric Value') },
36
+ { value: 'deltaPercent', label: tExpr('Delta (%)') },
37
+ { value: 'breached', label: tExpr('Threshold Breached') },
38
+ { value: 'topBuckets', label: tExpr('Top Buckets') },
39
+ { value: 'sampleRows', label: tExpr('Sample Rows') },
40
+ { value: 'executedAt', label: tExpr('Executed At') },
41
+ ],
42
+ };
43
+ }
44
+
45
+ export function ElasticReportQueryFieldset() {
46
+ const t = useT();
47
+
48
+ return (
49
+ <div>
50
+ <Form.Item name={['config', 'reportId']} label={t('Report')} rules={[{ required: true }]}>
51
+ <ReportSelect />
52
+ </Form.Item>
53
+ <Form.Item name={['config', 'queryOverride']} label={t('KQL / Search Query')}>
54
+ <Input placeholder={t('Search KQL, e.g. status >= 500 AND service: "api"')} />
55
+ </Form.Item>
56
+ <Form.Item name={['config', 'timePreset']} label={t('Time Field')}>
57
+ <Select
58
+ allowClear
59
+ placeholder={t('Auto')}
60
+ options={[
61
+ { label: t('Last 15 minutes'), value: 'last_15m' },
62
+ { label: t('Last 1 hour'), value: 'last_1h' },
63
+ { label: t('Last 24 hours'), value: 'last_24h' },
64
+ { label: t('Last 7 days'), value: 'last_7d' },
65
+ { label: t('Last 30 days'), value: 'last_30d' },
66
+ { label: t('Last 90 days'), value: 'last_90d' },
67
+ { label: t('All time'), value: 'all' },
68
+ ]}
69
+ />
70
+ </Form.Item>
71
+ <Form.Item name={['config', 'thresholdField']} label={t('Threshold Metric')}>
72
+ <Select
73
+ allowClear
74
+ options={[
75
+ { label: t('Total Hits'), value: 'total' },
76
+ { label: t('Metric Value'), value: 'metricValue' },
77
+ { label: t('Delta (%)'), value: 'deltaPercent' },
78
+ ]}
79
+ />
80
+ </Form.Item>
81
+ <Form.Item name={['config', 'thresholdOperator']} label={t('Threshold Operator')}>
82
+ <Select
83
+ allowClear
84
+ options={[
85
+ { label: '>', value: 'gt' },
86
+ { label: '>=', value: 'gte' },
87
+ { label: '<', value: 'lt' },
88
+ { label: '<=', value: 'lte' },
89
+ { label: '=', value: 'eq' },
90
+ { label: '!=', value: 'ne' },
91
+ ]}
92
+ />
93
+ </Form.Item>
94
+ <Form.Item name={['config', 'thresholdValue']} label={t('Threshold Value')}>
95
+ <InputNumber style={{ width: '100%' }} />
96
+ </Form.Item>
97
+ </div>
98
+ );
99
+ }
100
+
101
+ function ElasticReportQueryNodeCard({ data }: { data: FlowNodeModel }) {
102
+ const t = useT();
103
+ const cfg = (data?.config ?? {}) as ElasticWorkflowNodeConfig;
104
+ return (
105
+ <NodeDefaultView
106
+ data={data}
107
+ cardExtra={
108
+ cfg.reportId !== undefined ? (
109
+ <Space size={[4, 4]} wrap style={{ marginTop: 4 }}>
110
+ <Tag color="blue" style={{ marginInlineEnd: 0 }}>
111
+ {t('Report')} #{String(cfg.reportId)}
112
+ </Tag>
113
+ {cfg.thresholdOperator && cfg.thresholdValue !== undefined && (
114
+ <Tag color="gold" style={{ marginInlineEnd: 0 }}>
115
+ {cfg.thresholdField || 'total'} {cfg.thresholdOperator} {cfg.thresholdValue}
116
+ </Tag>
117
+ )}
118
+ </Space>
119
+ ) : null
120
+ }
121
+ />
122
+ );
123
+ }
124
+
125
+ export function registerElasticReportWorkflowInstructions(workflow: WorkflowClientRegistry): void {
126
+ workflow.registerInstructionGroup(WORKFLOW_GROUP_KEY, {
127
+ key: WORKFLOW_GROUP_KEY,
128
+ label: tExpr('Elastic Report'),
129
+ });
130
+
131
+ workflow.registerInstruction(
132
+ WORKFLOW_INSTRUCTION_TYPE,
133
+ class extends Instruction {
134
+ type = WORKFLOW_INSTRUCTION_TYPE;
135
+ title = tExpr('Query Elasticsearch Report');
136
+ description = tExpr(
137
+ 'Execute a Saved Elasticsearch Report and evaluate threshold conditions for scheduled alerts or reports.',
138
+ );
139
+ group = WORKFLOW_GROUP_KEY;
140
+ icon = (<BarChartOutlined />);
141
+ ComponentLoader = async () => ({ default: ElasticReportQueryNodeCard });
142
+ FieldsetLoader = async () => ({ default: ElasticReportQueryFieldset });
143
+
144
+ useVariables(node: { key: string; title: string }): VariableOption {
145
+ return buildElasticReportWorkflowVariables(node);
146
+ }
147
+ },
148
+ );
149
+ }
package/src/index.ts CHANGED
@@ -1,11 +1,11 @@
1
- /**
2
- * This file is part of the NocoBase (R) project.
3
- * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
- * Authors: NocoBase Team.
5
- *
6
- * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
- * For more information, please refer to: https://www.nocobase.com/agreement.
8
- */
9
-
10
- export { default } from './server';
11
- export * from './server';
1
+ /**
2
+ * This file is part of the NocoBase (R) project.
3
+ * Copyright (c) 2020-2024 NocoBase Co., Ltd.
4
+ * Authors: NocoBase Team.
5
+ *
6
+ * This project is dual-licensed under AGPL-3.0 and NocoBase Commercial License.
7
+ * For more information, please refer to: https://www.nocobase.com/agreement.
8
+ */
9
+
10
+ export { default } from './server';
11
+ export * from './server';
@@ -1,99 +1,213 @@
1
- {
2
- "Elastic Report": "Elastic Report",
3
- "Elastic report settings": "Elastic report settings",
4
- "Select report": "Select report",
5
- "Report": "Report",
6
- "Show interactive toolbar": "Show interactive toolbar",
7
- "Compact layout": "Compact layout",
8
- "Reports": "Reports",
9
- "Data Views": "Data Views",
10
- "MCP & AI Employee": "MCP & AI Employee",
11
- "New Report": "New Report",
12
- "Edit Report": "Edit Report",
13
- "New Data View": "New Data View",
14
- "Edit Data View": "Edit Data View",
15
- "Title": "Title",
16
- "Description": "Description",
17
- "Data Source (Elasticsearch)": "Data Source (Elasticsearch)",
18
- "Index Pattern": "Index Pattern",
19
- "Time Field": "Time Field",
20
- "Browse Indices": "Browse Indices",
21
- "Matching Indices": "Matching Indices",
22
- "Fields": "Fields",
23
- "Refresh Fields": "Refresh Fields",
24
- "Visualization": "Visualization",
25
- "Table (Discover)": "Table (Discover)",
26
- "Bar Chart": "Bar Chart",
27
- "Line Chart": "Line Chart",
28
- "Area Chart": "Area Chart",
29
- "Pie Chart": "Pie Chart",
30
- "Metric KPI": "Metric KPI",
31
- "Data View": "Data View",
32
- "Published": "Published",
33
- "Draft": "Draft",
34
- "Allow interactive search/filter on block": "Allow interactive search/filter on block",
35
- "Show time histogram above table": "Show time histogram above table",
36
- "KQL / Search Query": "KQL / Search Query",
37
- "Search KQL, e.g. status >= 500 AND service: \"api\"": "Search KQL, e.g. status >= 500 AND service: \"api\"",
38
- "Search": "Search",
39
- "Reset": "Reset",
40
- "Refresh": "Refresh",
41
- "Inspect DSL": "Inspect DSL",
42
- "Elasticsearch Query DSL": "Elasticsearch Query DSL",
43
- "Add Filter": "Add Filter",
44
- "Edit Filter": "Edit Filter",
45
- "Field": "Field",
46
- "Operator": "Operator",
47
- "Value": "Value",
48
- "To Value": "To Value",
49
- "Apply": "Apply",
50
- "Cancel": "Cancel",
51
- "Save": "Save",
52
- "Delete": "Delete",
53
- "Edit": "Edit",
54
- "Preview": "Preview",
55
- "Run Preview": "Run Preview",
56
- "Sort": "Sort",
57
- "Add Sort": "Add Sort",
58
- "Ascending": "Ascending",
59
- "Descending": "Descending",
60
- "Columns": "Columns",
61
- "Auto-detect columns from documents": "Auto-detect columns from documents",
62
- "Page Size": "Page Size",
63
- "Bucket Type": "Bucket Type",
64
- "Date Histogram": "Date Histogram",
65
- "Top Terms": "Top Terms",
66
- "Bucket Field": "Bucket Field",
67
- "Interval": "Interval",
68
- "Top N": "Top N",
69
- "Metric": "Metric",
70
- "Metric Field": "Metric Field",
71
- "Metric Label": "Metric Label",
72
- "Last 15 minutes": "Last 15 minutes",
73
- "Last 1 hour": "Last 1 hour",
74
- "Last 24 hours": "Last 24 hours",
75
- "Last 7 days": "Last 7 days",
76
- "Last 30 days": "Last 30 days",
77
- "Last 90 days": "Last 90 days",
78
- "All time": "All time",
79
- "Document Details": "Document Details",
80
- "Table View": "Table View",
81
- "JSON View": "JSON View",
82
- "Show data table": "Show data table",
83
- "Show chart": "Show chart",
84
- "Select a saved Elastic Report in block settings to display data": "Select a saved Elastic Report in block settings to display data",
85
- "No matching documents": "No matching documents",
86
- "Saved successfully": "Saved successfully",
87
- "Deleted successfully": "Deleted successfully",
88
- "Copied to clipboard": "Copied to clipboard",
89
- "Copy": "Copy",
90
- "Confirm delete?": "Confirm delete?",
91
- "Hits": "Hits",
92
- "Next cursor page": "Next cursor page",
93
- "First page": "First page",
94
- "Dedicated MCP Endpoint": "Dedicated MCP Endpoint",
95
- "MCP Server Name": "MCP Server Name",
96
- "Exposed MCP Tools": "Exposed MCP Tools",
97
- "AI Employee Usage": "AI Employee Usage",
98
- "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.": "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."
99
- }
1
+ {
2
+ "Add report block": "Add report block",
3
+ "Report block destination": "Report block destination",
4
+ "Page and tab": "Page and tab",
5
+ "Attach destination": "Attach destination",
6
+ "Select report block destination": "Attach one page, tab and report using Report block destination.",
7
+ "Inspect selected Elastic Report block": "Inspect selected Elastic Report block",
8
+ "Configure selected Elastic Report block": "Configure selected Elastic Report block",
9
+ "Pick one Elastic Report block": "Attach one Elastic Report block using Pick block.",
10
+ "Block page unavailable": "The selected block is unavailable on this page.",
11
+ "Block editing unavailable": "This role cannot edit this block instance.",
12
+ "Invalid block changes": "Provide supported settings and their previous values.",
13
+ "Report unavailable for this block": "Select a published report accessible to your role.",
14
+ "Block settings changed": "The block has changed. Read its settings again before applying this change.",
15
+ "Published report ready for blocks": "Report published. It is available in the block picker.",
16
+ "Draft saved in Settings": "Draft saved in Elastic Report settings.",
17
+ "Elastic Report": "Elastic Report",
18
+ "Elastic report settings": "Elastic report settings",
19
+ "Select report": "Select report",
20
+ "Report": "Report",
21
+ "Show interactive toolbar": "Show interactive toolbar",
22
+ "Compact layout": "Compact layout",
23
+ "Reports": "Reports",
24
+ "Data Views": "Data Views",
25
+ "MCP & AI Employee": "MCP & AI Employee",
26
+ "New Report": "New Report",
27
+ "Edit Report": "Edit Report",
28
+ "New Data View": "New Data View",
29
+ "Edit Data View": "Edit Data View",
30
+ "Title": "Title",
31
+ "Description": "Description",
32
+ "Data Source (Elasticsearch)": "Data Source (Elasticsearch)",
33
+ "Index Pattern": "Index Pattern",
34
+ "Time Field": "Time Field",
35
+ "Browse Indices": "Browse Indices",
36
+ "Matching Indices": "Matching Indices",
37
+ "Fields": "Fields",
38
+ "Refresh Fields": "Refresh Fields",
39
+ "Visualization": "Visualization",
40
+ "Table (Discover)": "Table (Discover)",
41
+ "Bar Chart": "Bar Chart",
42
+ "Line Chart": "Line Chart",
43
+ "Area Chart": "Area Chart",
44
+ "Pie Chart": "Pie Chart",
45
+ "Metric KPI": "Metric KPI",
46
+ "Data View": "Data View",
47
+ "Published": "Published",
48
+ "Draft": "Draft",
49
+ "Allow interactive search/filter on block": "Allow interactive search/filter on block",
50
+ "Show time histogram above table": "Show time histogram above table",
51
+ "KQL / Search Query": "KQL / Search Query",
52
+ "Search KQL, e.g. status >= 500 AND service: \"api\"": "Search KQL, e.g. status >= 500 AND service: \"api\"",
53
+ "Search": "Search",
54
+ "Reset": "Reset",
55
+ "Refresh": "Refresh",
56
+ "Inspect DSL": "Inspect DSL",
57
+ "Elasticsearch Query DSL": "Elasticsearch Query DSL",
58
+ "Add Filter": "Add Filter",
59
+ "Edit Filter": "Edit Filter",
60
+ "Field": "Field",
61
+ "Operator": "Operator",
62
+ "Value": "Value",
63
+ "To Value": "To Value",
64
+ "Apply": "Apply",
65
+ "Cancel": "Cancel",
66
+ "Save": "Save",
67
+ "Delete": "Delete",
68
+ "Edit": "Edit",
69
+ "Preview": "Preview",
70
+ "Run Preview": "Run Preview",
71
+ "Sort": "Sort",
72
+ "Add Sort": "Add Sort",
73
+ "Ascending": "Ascending",
74
+ "Descending": "Descending",
75
+ "Columns": "Columns",
76
+ "Auto-detect columns from documents": "Auto-detect columns from documents",
77
+ "Page Size": "Page Size",
78
+ "Bucket Type": "Bucket Type",
79
+ "Date Histogram": "Date Histogram",
80
+ "Top Terms": "Top Terms",
81
+ "Bucket Field": "Bucket Field",
82
+ "Interval": "Interval",
83
+ "Top N": "Top N",
84
+ "Metric": "Metric",
85
+ "Metric Field": "Metric Field",
86
+ "Metric Label": "Metric Label",
87
+ "Last 15 minutes": "Last 15 minutes",
88
+ "Last 1 hour": "Last 1 hour",
89
+ "Last 24 hours": "Last 24 hours",
90
+ "Last 7 days": "Last 7 days",
91
+ "Last 30 days": "Last 30 days",
92
+ "Last 90 days": "Last 90 days",
93
+ "All time": "All time",
94
+ "Custom range": "Custom range",
95
+ "From": "From",
96
+ "To": "To",
97
+ "Allowed Roles": "Allowed Roles",
98
+ "Leave empty to allow all authenticated users": "Leave empty to allow all authenticated users",
99
+ "All roles": "All roles",
100
+ "Locked Security Filters (Server-enforced)": "Locked Security Filters (Server-enforced)",
101
+ "Add Locked Filter": "Add Locked Filter",
102
+ "Locked filter": "Locked filter",
103
+ "Partial results warning": "Partial results warning",
104
+ "Query timed out; displayed results may be incomplete.": "Query timed out; displayed results may be incomplete.",
105
+ "Failed shards": "Failed shards",
106
+ "Elastic Filter Bar": "Elastic Filter Bar",
107
+ "Elastic filter bar settings": "Elastic filter bar settings",
108
+ "Sync Group": "Sync Group",
109
+ "Subscribe to dashboard filter bar": "Subscribe to dashboard filter bar",
110
+ "Filter Fields (comma-separated, e.g. service, region)": "Filter Fields (comma-separated, e.g. service, region)",
111
+ "Show global KQL input": "Show global KQL input",
112
+ "Show global time range": "Show global time range",
113
+ "Dashboard filter": "Dashboard filter",
114
+ "Clear dashboard filters": "Clear dashboard filters",
115
+ "Auto refresh": "Auto refresh",
116
+ "Off": "Off",
117
+ "Fields Explorer": "Fields Explorer",
118
+ "Top values": "Top values",
119
+ "Filter for value": "Filter for value",
120
+ "Filter out value": "Filter out value",
121
+ "Visible Columns": "Visible Columns",
122
+ "Move up": "Move up",
123
+ "Move down": "Move down",
124
+ "Split Series Field": "Split Series Field",
125
+ "Stack Mode": "Stack Mode",
126
+ "Grouped": "Grouped",
127
+ "Stacked": "Stacked",
128
+ "100% Stacked": "100% Stacked",
129
+ "Compare previous period": "Compare previous period",
130
+ "vs previous period": "vs previous period",
131
+ "Field Formats": "Field Formats",
132
+ "Add Field Format": "Add Field Format",
133
+ "Format": "Format",
134
+ "Auto": "Auto",
135
+ "Duration (ms)": "Duration (ms)",
136
+ "Bytes": "Bytes",
137
+ "Percent (%)": "Percent (%)",
138
+ "Number": "Number",
139
+ "Status Badge": "Status Badge",
140
+ "URL Link": "URL Link",
141
+ "Record Context Bindings": "Record Context Bindings",
142
+ "Add Context Binding": "Add Context Binding",
143
+ "Record Field Path": "Record Field Path",
144
+ "Allow data export on block": "Allow data export on block",
145
+ "Export CSV": "Export CSV",
146
+ "Export NDJSON": "Export NDJSON",
147
+ "Query Elasticsearch Report": "Query Elasticsearch Report",
148
+ "Execute a Saved Elasticsearch Report and evaluate threshold conditions for scheduled alerts or reports.": "Execute a Saved Elasticsearch Report and evaluate threshold conditions for scheduled alerts or reports.",
149
+ "Threshold Metric": "Threshold Metric",
150
+ "Threshold Operator": "Threshold Operator",
151
+ "Threshold Value": "Threshold Value",
152
+ "Total Hits": "Total Hits",
153
+ "Metric Value": "Metric Value",
154
+ "Delta (%)": "Delta (%)",
155
+ "Threshold Breached": "Threshold Breached",
156
+ "Top Buckets": "Top Buckets",
157
+ "Sample Rows": "Sample Rows",
158
+ "Executed At": "Executed At",
159
+ "Document Details": "Document Details",
160
+ "Table View": "Table View",
161
+ "JSON View": "JSON View",
162
+ "Show data table": "Show data table",
163
+ "Show chart": "Show chart",
164
+ "Select a saved Elastic Report in block settings to display data": "Select a saved Elastic Report in block settings to display data",
165
+ "No matching documents": "No matching documents",
166
+ "Saved successfully": "Saved successfully",
167
+ "Deleted successfully": "Deleted successfully",
168
+ "Copied to clipboard": "Copied to clipboard",
169
+ "Copy": "Copy",
170
+ "Confirm delete?": "Confirm delete?",
171
+ "Hits": "Hits",
172
+ "Next cursor page": "Next cursor page",
173
+ "First page": "First page",
174
+ "Dedicated MCP Endpoint": "Dedicated MCP Endpoint",
175
+ "MCP Server Name": "MCP Server Name",
176
+ "Exposed MCP Tools": "Exposed MCP Tools",
177
+ "AI Employee Usage": "AI Employee Usage",
178
+ "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.": "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.",
179
+ "Type keywords freely or select a field below": "Type keywords freely or select a field below",
180
+ "Suggested Fields": "Suggested Fields",
181
+ "Comparisons & Operators": "Comparisons & Operators",
182
+ "Suggested Values": "Suggested Values",
183
+ "Combine Conditions": "Combine Conditions",
184
+ "Free-text Search": "Free-text Search",
185
+ "Loading field values...": "Loading field values...",
186
+ "Choose comparison (=, >=, <=...)": "Choose comparison (=, >=, <=...)",
187
+ "Filter by field value": "Filter by field value",
188
+ "Equals (=)": "Equals (=)",
189
+ "Equals or contains (: )": "Equals or contains (: )",
190
+ "Greater than or equal (>=)": "Greater than or equal (>=)",
191
+ "Less than or equal (<=)": "Less than or equal (<=)",
192
+ "Greater than (>)": "Greater than (>)",
193
+ "Less than (<)": "Less than (<)",
194
+ "Match multiple values (OR)": "Match multiple values (OR)",
195
+ "Has any value (exists)": "Has any value (exists)",
196
+ "Exclude matching records": "Exclude matching records",
197
+ "Search text across all fields (Press Enter)": "Search text across all fields (Press Enter)",
198
+ "Boolean true": "Boolean true",
199
+ "Boolean false": "Boolean false",
200
+ "Suggested value from data": "Suggested value from data",
201
+ "Sample value from loaded rows": "Sample value from loaded rows",
202
+ "Finish value group": "Finish value group",
203
+ "Add another value to group": "Add another value to group",
204
+ "Exclude value in group": "Exclude value in group",
205
+ "Combine another condition (both match)": "Combine another condition (both match)",
206
+ "Match either condition": "Match either condition",
207
+ "Exclude next condition": "Exclude next condition",
208
+ "Close condition group": "Close condition group",
209
+ "Test Connection": "Test Connection",
210
+ "Connection verified": "Connection verified",
211
+ "Index-scoped role": "Index-scoped role",
212
+ "Configure Elasticsearch 8.x TLS, CA Fingerprint, API Key, or Bearer Token in Data Source Manager": "Configure Elasticsearch 8.x TLS, CA Fingerprint, API Key, or Bearer Token in Data Source Manager"
213
+ }