PS: the same certificate send data from logstash to eck but do not get the grafic. i have to send directly to eck before running with logstash. that is why i am doing this
I'm assuming you're running metricbeat manually, not using it under the Elastic Agent. If it isn't the case, please let me know.
More specifically, my current understanding of your setup is:
metricbeat > elasticsearch
and once it works, you want to have:
metricbeat > logstash > elasticsearch
Again, If I didn't understand correctly, please let me know.
The "x509: certificate signed by unknown authority" happens because the certificate is self-generated and metricbeat is neither configured to accept unknown certificates nor its certificate authorities includes the one for the SSL certificate it read.
From this limited snipped I believe the certificate store isn't quite right configured. In order to diagnose that I'd recommend to disable the SSL verification by setting verification-mode to none. If it works, then we'll know it's jut about getting metricbeat to correctly load the certificates.
Also, if you could provide the "full" yaml file, of course redacting the secrets and using a code block ("preformated text") to post it. You can use 3 back quotes (```) to open and close a code block. This way you posted seems to be rendered as markdonw , not the best to check the ymal.
This docs might help you. Also, could you say which metribeat and Elasticsearch version you're using?
This is from that container i want to send data from metricbeat.
I want to remoive the index and send the dta from metricbeat so it can create de dashborads and after i can send data from logstash and still have the dashborad. Normally the same certificate have to work, i have done the same thing with my elk cluster on vms. For an obscure reason, it doeasn t work now
This is an extra l @stephenb
I put the correct yml after. Sorry for the typo. i change the configuration many times. Was testing alot. the last yml are tho good one
Thank you guys. Now my dashbord is awesome. @stephenb@AndersonQ . You help me alot. I ginna activate my llicense tonight. really nice product and amazing support from 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.