Skip to content

Commit 34c7115

Browse files
authored
[7.x] Add Transform associated indices (#69493)
These somehow got dropped from the initial Feature States PR, so this commit adds them again.
1 parent 5368439 commit 34c7115

File tree

1 file changed

+5
-0
lines changed
  • x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform

1 file changed

+5
-0
lines changed

x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/Transform.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@
123123
import java.util.function.UnaryOperator;
124124

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

127128
public class Transform extends Plugin implements SystemIndexPlugin, PersistentTaskPlugin {
128129

@@ -397,6 +398,10 @@ public Collection<SystemIndexDescriptor> getSystemIndexDescriptors(Settings sett
397398
}
398399
}
399400

401+
@Override public Collection<String> getAssociatedIndexPatterns() {
402+
return org.elasticsearch.common.collect.List.of(AUDIT_INDEX_PATTERN);
403+
}
404+
400405
@Override
401406
public String getFeatureName() {
402407
return "transform";

0 commit comments

Comments
 (0)