Filebeat configuration

The system user running Elasticsearch has to be able to write into the data path (path.data) you’ve configured in Elasticsearch’s configuration file.

Check the output of the following command, which shows the permissions to all directories in the path to /data/elasticsearch. All of them have to be writable by the system user running Elasticsearch.

# namei -l /data/elasticsearch
[root@frghcslnetv12 /]# namei -l /data/elasticsearch
f: /data/elasticsearch
dr-xr-xr-x root          root          /
drwxrwx--- log-admin     log-admin     data
drwxr-x--- elasticsearch elasticsearch elasticsearch

As you can see, only the user log-admin or the group log-admin is allowed to read, write, and even enter the /data directory.

So can you tell me what should I do ?

Either you fix the lack of permissions on the Elasticsearch data path (see Unix/Linux Filesystem Permissions 101 for an introduction), or you forget about manually installing each component and install the virtual appliance.

1 Like

I can’t install the OVA because of a lot of constraint so I will see the permissions

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