config.yml gone missing

487 views
Skip to first unread message

Joshua John Consulta

unread,
Jun 5, 2023, 2:26:50 AM6/5/23
to Wazuh mailing list
Hello guys,

My config.yml gone missing but my Wazuh dashboard is still running. Where can I find my config.yml?

Best regards,
Joshua

Tomas Sarquis

unread,
Jun 5, 2023, 2:57:05 AM6/5/23
to Wazuh mailing list
Hi Joshua

Can you give a background on this?

I suppose that you've installed Wazuh by configuring the config.yml file (the file that contains your nodes configuration), and after that, it disappeared. That's normal, though, you shouldn't be worried.

If you used the assistant to install Wazuh, you should have run:
- bash wazuh-install.sh --generate-config-files
The command above takes the config.yml file and integrates it into a TAR file which is used by the nodes to be correctly configured.
You can confirm this by searching the TAR file (called wazuh-install-files.tar) and extracting the files from it (by running tar -xf wazuh-install-files.tar).

So, the file didn't disappear but it has been "hidden" into a TAR file.

Hope it helps, Joshua

Joshua John Consulta

unread,
Jun 5, 2023, 3:02:14 AM6/5/23
to Wazuh mailing list
Hi Tomas,

Thank you for responding, I tried to run  tar -xf wazuh-install-files.tar but the config.yml didn't appear.
What should I do?

Best regards,
Joshua

Tomas Sarquis

unread,
Jun 5, 2023, 3:05:10 AM6/5/23
to Wazuh mailing list
I assume you are in the same folder where you have generated the TAR file?

What's the output of:
$ ls

Do you see the wazuh-install-files.tar file?
If you have successfully executed the tar -xf command, a new folder called wazuh-install-files should have appeared. Inside this folder, the config file should be.

Joshua John Consulta

unread,
Jun 5, 2023, 3:08:20 AM6/5/23
to Wazuh mailing list
Hi Tomas,

It showed up. Thank you Tomas.

Best regards,
Joshua

Tomas Sarquis

unread,
Jun 5, 2023, 3:09:49 AM6/5/23
to Wazuh mailing list
You're welcome, Joshua. Keep playing with Wazuh.
Reply all
Reply to author
Forward
0 new messages