SAP Knowledge Base Article - Preview

3443957 - How to delete selected logs from OpenSearch

Symptom

Sometimes, to find a problem, you need to enable debug logs, which can significantly reduce retention. To reduce the impact it is possible to delete unnecessary debug logs after the investigation and leave only the important ones or delete them all. 

Example:
In the last 7 days there is 5.7 million logs in OpenSearch, of which 1.3 million are debug logs:

After checking, it turns out that they all come from the following two loggerNames:
- de.hybris.platform.jalo.flexiblesearch.FlexibleSearch
- hybris.attribute.accessor

If they are no longer needed you can remove them from OpenSearch


Read more...

Environment

SAP Commerce Cloud
OpenSearch

Product

SAP Commerce Cloud all versions

Keywords

OpenSearch
retention
delete logs
remove logs , KBA , CEC-SCC-CLA-ENV-LOM , Logging and Monitoring , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.