.monitoring-logstash not working after i started using pipeline.yml

in my local i didnt use pipeline.yml , but i came to know that its recommended to use pipleline.yml

l i was monitoring the logstash using kibana as below

after i started using the pipleline.yml , this monitoring functionality disappears.

the below log appears if i dont use pipleline.yml , it disapper when i use pipleline.yml , now i am not able to monitor , please help

[2019-09-28T14:07:30,635][INFO ][logstash.monitoring.internalpipelinesource] Monitoring License OK
[2019-09-28T14:07:30,637][INFO ][logstash.monitoring.internalpipelinesource] Validated license for monitoring. Enabling monitoring pipeline.

[2019-09-28T14:07:37,728][INFO ][logstash.javapipeline ] Starting pipeline {:pipeline_id=>".monitoring-logstash", "pipeline.workers"=>1, "pipeline.batch.size"=>2, "pipeline.batch.delay"=>0, "pipeline.max_inflight"=>2, :thread=>"#<Thread:0x7d8a8403 run>"}
[2019-09-28T14:07:37,767][INFO ][logstash.javapipeline ] Pipeline started {"pipeline.id"=>".monitoring-logstash"}
[2019-09-28T14:07:37,784][INFO ][logstash.agent ] Pipelines running {:count=>2, :running_pipelines=>[:".monitoring-logstash", :gus_user_main], :non_running_pipelines=>}

I am having same issue...

when i run using the following command i could see that monitoring is not enabled, but i actually enabled it

${logstash_path}/bin/logstash  \
-t \
--path.settings ${logstash_project_path}/GUS \
--path.logs ${logstash_project_log_path} \
--config.reload.automatic \
--log.level debug \
--config.debug \

[2019-09-30T23:16:05,678][DEBUG][logstash.runner ] *path.logs: "/var/opt/appworkr/logs" (default: "/Users/jagja001/Desktop/TechStack/logstash-7.3.2/logs")
[2019-09-30T23:16:05,678][DEBUG][logstash.runner ] xpack.management.enabled: false
[2019-09-30T23:16:05,678][DEBUG][logstash.runner ] xpack.management.logstash.poll_interval: 5000000000
[2019-09-30T23:16:05,678][DEBUG][logstash.runner ] xpack.management.pipeline.id: ["main"]
[2019-09-30T23:16:05,679][DEBUG][logstash.runner ] xpack.management.elasticsearch.username: "logstash_system"
[2019-09-30T23:16:05,679][DEBUG][logstash.runner ] xpack.management.elasticsearch.hosts: ["https://localhost:9200"]
[2019-09-30T23:16:05,679][DEBUG][logstash.runner ] xpack.management.elasticsearch.ssl.verification_mode: "certificate"
[2019-09-30T23:16:05,679][DEBUG][logstash.runner ] xpack.management.elasticsearch.sniffing: false
> [2019-09-30T23:16:05,679][DEBUG][logstash.runner ] xpack.monitoring.enabled: false
[2019-09-30T23:16:05,679][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.hosts: ["http://localhost:9200"]
[2019-09-30T23:16:05,679][DEBUG][logstash.runner ] xpack.monitoring.collection.interval: 10000000000
[2019-09-30T23:16:05,679][DEBUG][logstash.runner ] xpack.monitoring.collection.timeout_interval: 600000000000
[2019-09-30T23:16:05,679][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.username: "logstash_system"
[2019-09-30T23:16:05,680][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.ssl.verification_mode: "certificate"
[2019-09-30T23:16:05,680][DEBUG][logstash.runner ] xpack.monitoring.elasticsearch.sniffing: false
[2019-09-30T23:16:05,680][DEBUG][logstash.runner ] xpack.monitoring.collection.pipeline.details.enabled: true
[2019-09-30T23:16:05,680][DEBUG][logstash.runner ] xpack.monitoring.collection.config.enabled: true

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.