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 efa9b09 commit bf05ac6
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@
import java.util.function.Supplier;
import java.util.function.UnaryOperator;

import static org.elasticsearch.xpack.core.transform.transforms.persistence.TransformInternalIndexConstants.AUDIT_INDEX_PATTERN;

public class Transform extends Plugin implements SystemIndexPlugin, PersistentTaskPlugin {

public static final String NAME = "transform";
Expand Down Expand Up @@ -371,6 +373,10 @@ public Collection<SystemIndexDescriptor> getSystemIndexDescriptors(Settings sett
}
}

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

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

0 comments on commit bf05ac6

Please sign in to comment.