Elasticsearch: Remove xpack button and make includeFrozen not dependant on it (#84734)

This commit is contained in:
Ivana Huckova
2024-03-20 09:59:26 +01:00
committed by GitHub
parent fba2b61408
commit 77b1c97482
8 changed files with 13 additions and 44 deletions

View File

@ -157,11 +157,6 @@ func newInstanceSettings(httpClientProvider httpclient.Provider) datasource.Inst
includeFrozen = false
}
xpack, ok := jsonData["xpack"].(bool)
if !ok {
xpack = false
}
configuredFields := es.ConfiguredFields{
TimeField: timeField,
LogLevelField: logLevelField,
@ -177,7 +172,6 @@ func newInstanceSettings(httpClientProvider httpclient.Provider) datasource.Inst
ConfiguredFields: configuredFields,
Interval: interval,
IncludeFrozen: includeFrozen,
XPack: xpack,
}
return model, nil
}