Errors
[ec2-user@ip-172-31-9-17 filebeat-7.2.0-linux-x86_64]$ sudo vi filebeat.yml
[ec2-user@ip-172-31-9-17 filebeat-7.2.0-linux-x86_64]$ sudo ./filebeat -e -c filebeat.yml -d "publish"
Exiting: error loading config file: yaml: line 161: did not find expected keyCode language: JavaScript (javascript)
Solutions
Check filebeat.yml: Only one file beat output is supported …check #output.elasticsearch is comments
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals