Skip to content

Commit

Permalink
Add Transform associated indices (#69493)
Browse files Browse the repository at this point in the history
These somehow got dropped from the initial Feature States PR, so this
commit adds them again.
  • Loading branch information
gwbrown authored Feb 24, 2021
1 parent 24ec276 commit d899929
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@
import java.util.function.UnaryOperator;

import static java.util.Collections.emptyList;
import static org.elasticsearch.xpack.core.transform.transforms.persistence.TransformInternalIndexConstants.AUDIT_INDEX_PATTERN;

public class Transform extends Plugin implements SystemIndexPlugin, PersistentTaskPlugin {

Expand Down Expand Up @@ -397,6 +398,10 @@ public Collection<SystemIndexDescriptor> getSystemIndexDescriptors(Settings sett
}
}

@Override public Collection<String> getAssociatedIndexPatterns() {
return org.elasticsearch.common.collect.List.of(AUDIT_INDEX_PATTERN);
}

@Override
public String getFeatureName() {
return "transform";
Expand Down

0 comments on commit d899929

Please sign in to comment.