ElasticSearch folder too large
Hello.
Today I found my Acronis 12.5 storage node service stopped because disk C: was full. I realized that acronis software saved too many log files in many directories under c:\programdata\acronis and service started successfully after deleting them. But I can see another folder - c:\programdata\acronis\elasticsearch\data - that occupies about 40 Gb in each storage node. Is that normal ? What kind of data are kept in it and is there any way to reduce it?
Thanks.

- Anmelden, um Kommentare verfassen zu können

Is it safe to delete files under log directories ? For example c:\programdata\acronis\backupandrecovery\ASN\logs.
Is there any way to configure acronis to automatically delete log files older than a specific duration?
- Anmelden, um Kommentare verfassen zu können

Hi,
The logs can be safely deleted. For Acronis Storage Node service the logs rotation is defined in C:\Program Files\Acronis\StorageNode\ss.config file in the following string:
<channel id="pcs" level="info" enabled="true" type="logscope" prefix="pcs" maxfiles="30" compress="true" maxsize="3145728"/>
The size is defined in bytes and the maxfiles corresponds the amount of compressed (.zipped) logs generated when the main log file exceeds the size threshold.
Thank you.
- Anmelden, um Kommentare verfassen zu können

Hi,
Regarding the logs, maxfiles and maxsize solved the problem.
Regarding the data I see that there many old folders in ...\elasticsearch\data\elasticsearch\nodes\0\indices\... that take much disk space. There are folders from 2018. Are all of them useful ? I do not keep backups older than 3 months. Is it safe to delete them and restart catalog service in order to be rebuilt ?
- Anmelden, um Kommentare verfassen zu können

Hello Athanasios!
If you have changed the path to the logs and the data for ElasticSearch as Vasily recommended in this post above, then you can simply delete old folders.
- Anmelden, um Kommentare verfassen zu können