0

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?

5
  • What is the output from the commands recommended? They should show you what is going on. ELK works fine on AWS.
    – stdunbar
    Commented Aug 25, 2022 at 17:54
  • Figured it out. It was an indentation issue in my elasticsearch.yml file.
    – Eby
    Commented Aug 25, 2022 at 20:13
  • Is it resolved ? Commented Aug 27, 2022 at 17:04
  • 1
    @sidharthvijayakumar yes, it is
    – Eby
    Commented Aug 27, 2022 at 20:56
  • You can post it in the answer as well if you want. Commented Aug 28, 2022 at 2:04

1 Answer 1

1

Like OP said this issue was caused due to bad indentation in elasticsearch.yml file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.