I am trying to set up ELK stack on AWS EC2 instance. I am new to this and i am following this tutorial I found online: https://avarjana.medium.com/setting-up-elk-stack-elastic-stack-on-aws-ec2-instance-fc2e1b006fe3.
But when I run service elasticsearch start
, I get this error message:
Job for elasticsearch.service failed because the control process exited with error code.
See "systemctl status elasticsearch.service" and "journalctl -xeu elasticsearch.service" for details.
Any idea what is going on? Can't the ELK stack be deployed on AWS?
CodePudding user response:
Like OP said this issue was caused due to bad indentation in elasticsearch.yml file.