parent
7d13906fcd
commit
bf0c362412
|
@ -50,7 +50,7 @@ public class IngestUserAgentPlugin extends Plugin implements IngestPlugin {
|
|||
@Override
|
||||
public Map<String, Processor.Factory> getProcessors(
|
||||
Environment env, ScriptService scriptService, TemplateService templateService) {
|
||||
Path userAgentConfigDirectory = env.configFile().resolve("ingest-useragent");
|
||||
Path userAgentConfigDirectory = env.configFile().resolve("ingest-user-agent");
|
||||
|
||||
if (Files.exists(userAgentConfigDirectory) == false && Files.isDirectory(userAgentConfigDirectory)) {
|
||||
throw new IllegalStateException(
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
---
|
||||
"Test user agent processor with custom regex file":
|
||||
- skip:
|
||||
version: "all"
|
||||
reason: "awaits fix #19307"
|
||||
- do:
|
||||
ingest.put_pipeline:
|
||||
id: "my_pipeline"
|
||||
|
|
Loading…
Reference in New Issue