Setting up ELK on RHEL using RPM

I am trying to install ELK stack on RHEL linux using RPM packages downloaded.I could install only with root as it requires permissions for /etc directory. But after the installation it created users for logstash and elasticsearch. But when I am trying to run ES with root user its throwing error

org.elasticsearch.bootstrap.StartupException: java.lang.RuntimeException: can not run elasticsearch as root.

I want to use newly created users to run, How to enable those users to run ES, stash ?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.