Hi, I am new to Logstash and Elastic search. I am currently going through documents and trying to fix a issue. Our logstash service is running active but data is not passing to Elasticsearch.
"logstash.version"=>"7.17.7" running in linux-x86_64 system.
status check command response.
systemctl status logstash.service
● logstash.service - logstash
Loaded: loaded (/etc/systemd/system/logstash.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2023-05-02 05:22:26 CDT; 1 day 2h ago
Main PID: 24647 (java)
CGroup: /system.slice/logstash.service
└─24647 /usr/share/logstash/jdk/bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=true -Dfile.e...
May 03 07:47:42 logstash[24647]: [2023-05-03T07:47:42,437][DEBUG][org.logstash.execution.PeriodicFlush][main] Pushing flush onto pipeline.
May 03 07:47:42 logstash[24647]: [2023-05-03T07:47:42,804][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ParNew"}
May 03 07:47:42 logstash[24647]: [2023-05-03T07:47:42,804][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ConcurrentMarkSweep"}
May 03 07:47:43 logstash[24647]: [2023-05-03T07:47:43,355][DEBUG][filewatch.sincedbcollection][main][daba0a116d1dbc345e97f78aa5ce67934a38b26e4efccabfe7df376857451c55] writi...t write = 15)
May 03 07:47:47 logstash[24647]: [2023-05-03T07:47:47,437][DEBUG][org.logstash.execution.PeriodicFlush][main] Pushing flush onto pipeline.
May 03 07:47:47 logstash[24647]: [2023-05-03T07:47:47,806][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ParNew"}
May 03 07:47:47 logstash[24647]: [2023-05-03T07:47:47,806][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ConcurrentMarkSweep"}
May 03 07:47:52 logstash[24647]: [2023-05-03T07:47:52,437][DEBUG][org.logstash.execution.PeriodicFlush][main] Pushing flush onto pipeline.
May 03 07:47:52 logstash[24647]: [2023-05-03T07:47:52,807][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ParNew"}
May 03 07:47:52 logstash[24647]: [2023-05-03T07:47:52,807][DEBUG][logstash.instrument.periodicpoller.jvm] collector name {:name=>"ConcurrentMarkSweep"}
In log file /var/log/logstash/logstash-plain.log there is no error shown.
But If I run it manually with this command data is passing to Elasticsearch /usr/share/logstash/bin/logstash -f "/etc/logstash/conf.d/wflserver_es.conf"