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