mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Updting host risk score index pattern (#122794)
This commit is contained in:
parent
9e5daa5e75
commit
ee5b909934
2 changed files with 3 additions and 2 deletions
|
@ -122,7 +122,7 @@ export const DATA_DATASETS_INDEX_PATTERNS = [
|
|||
{ pattern: '*meow*', patternName: 'meow' },
|
||||
|
||||
// experimental ml
|
||||
{ pattern: '*host_risk_score_latest', patternName: 'host_risk_score' },
|
||||
{ pattern: 'ml_host_risk_score_latest_*', patternName: 'host_risk_score' },
|
||||
] as const;
|
||||
|
||||
// Get the unique list of index patterns (some are duplicated for documentation purposes)
|
||||
|
|
|
@ -72,7 +72,8 @@ describe('get_data_telemetry', () => {
|
|||
{ name: 'metricbeat-1234', docCount: 100, sizeInBytes: 10, isECS: false },
|
||||
{ name: '.app-search-1234', docCount: 0 },
|
||||
{ name: 'logs-endpoint.1234', docCount: 0 }, // Matching pattern with a dot in the name
|
||||
{ name: 'ml_host_risk_score_latest', docCount: 0 },
|
||||
{ name: 'ml_host_risk_score_latest_default', docCount: 0 },
|
||||
{ name: 'ml_host_risk_score_latest', docCount: 0 }, // This should not match,
|
||||
{ name: 'ml_host_risk_score', docCount: 0 }, // This should not match
|
||||
// New Indexing strategy: everything can be inferred from the constant_keyword values
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue