Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

ElasticSearch Error – filebeat – filebeat.yml – did not find expected key

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 key

Solutions

Check filebeat.yml: Only one file beat output is supported …check #output.elasticsearch is comments

DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.