File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
x-pack/plugins/event_log/server/es Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const createNamesMock = () => {
1010 const mock : jest . Mocked < EsNames > = {
1111 base : '.kibana' ,
1212 alias : '.kibana-event-log-8.0.0' ,
13- ilmPolicy : '. kibana-event-log-policy' ,
13+ ilmPolicy : 'kibana-event-log-policy' ,
1414 indexPattern : '.kibana-event-log-*' ,
1515 indexPatternWithVersion : '.kibana-event-log-8.0.0-*' ,
1616 initialIndex : '.kibana-event-log-8.0.0-000001' ,
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ export function getEsNames(baseName: string): EsNames {
2424 const eventLogNameWithVersion = `${ eventLogName } ${ EVENT_LOG_VERSION_SUFFIX } ` ;
2525 const eventLogPolicyName = `${
2626 baseName . startsWith ( '.' ) ? baseName . substring ( 1 ) : baseName
27- } ${ EVENT_LOG_NAME_SUFFIX } `;
27+ } ${ EVENT_LOG_NAME_SUFFIX } -policy `;
2828 return {
2929 base : baseName ,
3030 alias : eventLogNameWithVersion ,
31- ilmPolicy : `${ eventLogPolicyName } -policy ` ,
31+ ilmPolicy : `${ eventLogPolicyName } ` ,
3232 indexPattern : `${ eventLogName } -*` ,
3333 indexPatternWithVersion : `${ eventLogNameWithVersion } -*` ,
3434 initialIndex : `${ eventLogNameWithVersion } -000001` ,
You can’t perform that action at this time.
0 commit comments