Manually strip parameters on SQL queries

Kibana/Elasticsearch/APM Server version:
8.8.1

APM Agent language and version:
PHP 1.8.4

Browser version:
113.0.1774.35

Original install method (e.g. download page, yum, deb, from source, etc.) and version:
deb

Fresh install or upgraded from other version?
Fresh

Is there anything special in your setup?
Not that I'm aware of

Description of the problem including expected versus actual behavior.:
Currently we are using NewRelic as our APM, and looking into Elastic APM to see if we can replace NewRelic (unfortunately with the current behaviours not). With the NewRelic setup, all the SQL queries that are captured are being anonymized, and this way the 'same' queries can be grouped together. In Elastic APM we see the SQL queries containing all the values.
The APM documentation says

"Elastic APM currently does not make an effort to strip parameters"

Is it possible to do this filtering on our side, with an ingest pipeline or something? This is mentioned a few lines later in the documentation, for non-SQL queries. But no examples are given.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.