[root@host]# ll /apps/elastic/logstash/config/custom/Pruebas-mod-age/
total 8
-rw-r--r-- 1 root root 2058 nov 18 16:07 A__agentes.conf
-rw-r--r-- 1 root root 2343 nov 18 16:07 B__modules.conf
If I first launch A and stop it and then launch B it works perfectly but when I put it in pipelines it shows the error indicating the field with which I want to enrich it does not exist ye
therefore I understand that logstash is executing the filters in parallel omitting the alphabetical order.
Each of them has a jdbc oracle entry that fetches the data every 5 minutes.
I am trying to enrich one with fields from the other using the Elasticsearch filter. The problem is the following:
When I put it in pipelines they both run at the same time and therefore the enrichment does not complete.
This I have already seen that with workers 1 order etc it can be solved. The most important problem that I do not see how to solve is that logstash tries to enrich with everything and really should only do it with the last data that is originally indexed.
I only get it to work if I run the first ETL by hand and then the second.
Is there a way to do this enrichment with dynamic indexes taking only the last indexed documents?
This would be of great help to me because it is being repeated in different use cases, thank you.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.