Skip to content

Commit

Permalink
Enable logsdb by default - to be reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
mrodm committed Aug 9, 2024
1 parent 84fc9ac commit ab88d3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions internal/stack/_static/elasticsearch.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ ingest.geoip.downloader.enabled: false

{{- $version := fact "elasticsearch_version" -}}
{{- $logsdb_enabled := fact "logsdb_enabled" -}}
{{ if (and (eq $logsdb_enabled "true") (not (semverLessThan $version "8.15.0-SNAPSHOT"))) }}
cluster.logsdb.enabled: true
{{ if (not (semverLessThan $version "8.15.0-SNAPSHOT")) }}
cluster.logsdb.enabled: {{ $logsdb_enabled }}
{{- end -}}

{{ if semverLessThan $version "8.0.0" }}
Expand Down
2 changes: 1 addition & 1 deletion internal/stack/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ func applyResources(profile *profile.Profile, stackVersion string) error {
"apm_enabled": profile.Config(configAPMEnabled, "false"),
"geoip_dir": profile.Config(configGeoIPDir, "./ingest-geoip"),
"kibana_http2_enabled": profile.Config(configKibanaHTTP2Enabled, "true"),
"logsdb_enabled": profile.Config(configLogsDBEnabled, "false"),
"logsdb_enabled": profile.Config(configLogsDBEnabled, "true"),
"logstash_enabled": profile.Config(configLogstashEnabled, "false"),
"self_monitor_enabled": profile.Config(configSelfMonitorEnabled, "false"),
})
Expand Down

0 comments on commit ab88d3d

Please sign in to comment.