SAP Knowledge Base Article - Preview

3443957 - How to delete selected logs from OpenSearch

Symptom

"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."

Sometimes, to find a problem, there is a 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 were 5.7 million logs in OpenSearch, of which 1.3 million were 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 they can be 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.