Hi
My logstash service is running ... but log file is not updating ...
showing past messages...
i tried to restart logstash service many times but not updating in the logs.
any reason ... even i killed the processes also. but still the same.
my logstash.yml file:
xpack.monitoring.enabled: true
xpack.monitoring.elasticsearch.username: elastic
xpack.monitoring.elasticsearch.password: elastic
xpack.monitoring.elasticsearch.hosts: ["http://192.168.136.x:9200', "http://192.168.136.x:9200"]
xpack.monitoring.elasticsearch.ssl.truststore.path: "/etc/logstash/certs/ca/ca.p12"
xpack.monitoring.elasticsearch.ssl.certificate_authority: "/etc/logstash/certs/logstash/logstash.p12"
xpack.monitoring.elasticsearch.ssl.verification_mode: certificate
xpack.management.enabled: true
xpack.management.elasticsearch.username: elastic
xpack.management.elasticsearch.password: elastic
xpack.management.elasticsearch.hosts: ["http://192.168.136.x:9200", "http://192.168.136.x:9200"]
xpack.management.pipeline.id: ["main"]
xpack.management.elasticsearch.ssl.truststore.path: "/etc/logstash/certs/ca/ca.p12"
xpack.management.elasticsearch.ssl.certificate_authority: "/etc/logstash/certs/logstash/logstash.p12"
xpack.security.http.ssl.enabled: true
xpack.security.http.ssl.keystore.path: /etc/logstash/certs/logstash/logstash.p12
xpack.security.http.ssl.truststore.path: /etc/logstash/certs/ca/ca.p12
[root@logstash ~]# systemctl status logstash
● logstash.service - logstash
Loaded: loaded (/etc/systemd/system/logstash.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2019-05-22 18:52:58 SGT; 18s ago
Main PID: 5460 (java)
CGroup: /system.slice/logstash.service
└─5460 /bin/java -Xms1g -Xmx1g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -Djava.awt.headless=true -...
May 22 18:52:58 logstash systemd[1]: logstash.service holdoff time over, scheduling restart.
May 22 18:52:58 logstash systemd[1]: Started logstash.
May 22 18:52:58 logstash systemd[1]: Starting logstash...
May 22 18:52:58 logstash logstash[5460]: OpenJDK 64-Bit Server VM warning: If the number of processors is expected to increase from one, then you should co...CThreads=N
Hint: Some lines were ellipsized, use -l to show in full.
i am not sure where i do mistake, can help me to fix it.
Thanks
Harry