@@ -53,6 +53,20 @@ func newKibanaConfig8x(_ string, profilePath string) (*simpleFile, error) {
53
53
}, nil
54
54
}
55
55
56
+ // KibanaConfig86File is the Kibana config file for the 8.x stack family (8.2 to 8.6)
57
+ const KibanaConfig86File configFile = "kibana.config.86.yml"
58
+
59
+ //go:embed _static/kibana_config_86.yml
60
+ var kibanaConfig86Yml string
61
+
62
+ func newKibanaConfig86 (_ string , profilePath string ) (* simpleFile , error ) {
63
+ return & simpleFile {
64
+ name : string (KibanaConfig86File ),
65
+ path : filepath .Join (profilePath , profileStackPath , string (KibanaConfig86File )),
66
+ body : kibanaConfig86Yml ,
67
+ }, nil
68
+ }
69
+
56
70
// KibanaConfig80File is the Kibana config file for 8.0 stack family (8.0 to 8.1)
57
71
const KibanaConfig80File configFile = "kibana.config.80.yml"
58
72
@@ -95,6 +109,17 @@ func newElasticsearchConfig8x(_ string, profilePath string) (*simpleFile, error)
95
109
}, nil
96
110
}
97
111
112
+ // ElasticsearchConfig8xFile is the Elasticsearch config file for 8.x stack family (8.2 to 8.6)
113
+ const ElasticsearchConfig86File configFile = "elasticsearch.config.86.yml"
114
+
115
+ func newElasticsearchConfig86 (_ string , profilePath string ) (* simpleFile , error ) {
116
+ return & simpleFile {
117
+ name : string (ElasticsearchConfig86File ),
118
+ path : filepath .Join (profilePath , profileStackPath , string (ElasticsearchConfig86File )),
119
+ body : elasticsearchConfig8xYml ,
120
+ }, nil
121
+ }
122
+
98
123
// ElasticsearchConfig80File is the Elasticsearch virtual config file name for 8.0 stack family (8.0 to 8.1)
99
124
// This file does not exist in the source code, since it's identical to the 8x config file.
100
125
const ElasticsearchConfig80File configFile = "elasticsearch.config.80.yml"
@@ -154,6 +179,18 @@ func newElasticAgent80Env(_ string, profilePath string) (*simpleFile, error) {
154
179
}, nil
155
180
}
156
181
182
+ // ElasticAgent86EnvFile is the .env for the 8.6 stack.
183
+ // This file does not exist in the source code, since it's identical to the 8x env file.
184
+ const ElasticAgent86EnvFile configFile = "elastic-agent.86.env"
185
+
186
+ func newElasticAgent86Env (_ string , profilePath string ) (* simpleFile , error ) {
187
+ return & simpleFile {
188
+ name : string (ElasticAgent86EnvFile ),
189
+ path : filepath .Join (profilePath , profileStackPath , string (ElasticAgent86EnvFile )),
190
+ body : elasticAgent8xEnv ,
191
+ }, nil
192
+ }
193
+
157
194
// ElasticAgent8xEnvFile is the .env for the 8x stack.
158
195
const ElasticAgent8xEnvFile configFile = "elastic-agent.8x.env"
159
196
0 commit comments