forked from opensearch-project/opensearch-agent-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopensearch_dashboards.example.yml
More file actions
74 lines (56 loc) · 2.04 KB
/
opensearch_dashboards.example.yml
File metadata and controls
74 lines (56 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# OpenSearch Dashboards Configuration for OpenSearch Agent Server
# Copy these settings to your OpenSearch-Dashboards/config/opensearch_dashboards.yml
# ============================================
# OpenSearch Connection
# ============================================
opensearch.hosts: ["http://localhost:9200"]
opensearch.ssl.verificationMode: none
# For secured OpenSearch cluster, uncomment and set credentials:
# opensearch.username: "admin"
# opensearch.password: "admin"
# ============================================
# OpenSearch Agent Server Integration
# ============================================
# Enable new UI header (required for chat button to appear)
uiSettings:
overrides:
"home:useNewHomePage": true
# Enable context provider
# This sends the current page context (app ID, filters, queries) to the agent
contextProvider:
enabled: true
# Enable chat with opensearch agent server
chat:
enabled: true
agUiUrl: "http://localhost:8001/runs" # OpenSearch agent server endpoint
# Optional: Use ML Commons agent instead (requires ml-commons plugin)
# mlCommonsAgentId: "your-agent-id"
# ============================================
# Optional Settings
# ============================================
# Server port (default: 5601)
# server.port: 5601
# Server host (default: localhost)
# server.host: "localhost"
# CORS settings (if needed)
# server.cors: true
# server.cors.origin: ["http://localhost:8001"]
# Enable multiple data source feature
# data_source.enabled: true
# Enable workspace feature
# workspace.enabled: true
# Allow using local cluster as data source
# data_source.hideLocalCluster: false
# Enable explore
# explore.enabled: true
# ============================================
# Troubleshooting
# ============================================
# If you encounter CORS issues, add:
# server.cors: true
# server.cors.allowCredentials: true
# server.cors.allowOrigin: ["http://localhost:8001"]
# If SSL verification fails:
# opensearch.ssl.verificationMode: none
# Enable verbose logging for debugging:
# logging.verbose: true