I have been working with Logstash this week but stuck with below error.
The error occurs when retrieving data from Oracle DB using the JDBC input plugin, filtering it in the pipeline, and despite the index being created and data being stored in Elasticsearch, the pipeline doesn't terminate successfully.
Logstash error
Cpu.cfs_period_us cannot be found
Try providing an override ls.cgroup.cpu.path.override
In the logstash java_opts environment variable
Collector name parnew
Collecotr name concuttentmarksweep
It's not easy figure out what is here a problem. It sounds like [Cpu][cfs_period_us] field is missing and your .conf is using somewhere in filter, I assume.
Have you used perhaps debug mode?
Can you copy a message where is falling?
Can you copy like where is the problem or .conf file?
The default behaviour for a pipeline with a jdbc input is to terminate after it completes the query (unless you set the schedule option). When the input terminates the pipeline should terminate unless there is another input keeping it alive. Can you turn off DEBUG level logging and show us the logstash logs? Also share your input configuration.
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.