Modify data path to collect logs

Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!

1. Describe your incident:
I mounted a disk and I want the collected logs to go there.
The installation consists of
Graylog, OpenSearch, and Mongod.

2. Describe your environment:

  • OS Information: RHEL 9

  • Package Version:

  • Service logs, configurations, and environment variables:
    Graylog, OpenSearch, and Mongod.

3. What steps have you already taken to try and solve the problem?

4. How can the community help?

contact someone who has experienced this procedure or an expert

Helpful Posting Tips: Tips for Posting Questions that Get Answers [Hold down CTRL and link on link to open tips documents in a separate tab]

hey @lio

You have to modify you configuration file OpenSearch.

path.data:  /var/elasticsearch/data