Skip to content

Commit

Permalink
opensearch: disable runtime mappings for all versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed Dec 16, 2024
1 parent e9939bc commit 0d2760c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/server/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,13 +459,12 @@ async fn configure_datastore(config: Config, server_config: &ServerConfig) -> Re
if let Ok(version) = Version::parse(&server_info.version.number) {
if version.major < 2 || (version.major < 3 && version.minor < 6) {
error!("Opensearch versions less than 2.6.0 not supported. EveBox likely won't work properly.");
// Runtime mappings don't work on OpenSearch
// 1.3, as used by ClearNDR at this time.
runtime_mappings_supported = false;
}
} else {
error!("Failed to parse Opensearch version, EveBox likely won't work properly");
}
warn!("Opensearch support is still a work in progress");
runtime_mappings_supported = false;
} else {
info!(
"Found Elasticsearch version {}; Index={}; ECS={}",
Expand Down

0 comments on commit 0d2760c

Please sign in to comment.