Transport tampered request t action= indices= request= – How to solve this Elasticsearch error

Opster Team

Aug-23, Version: 6.8-6.8

Briefly, this error occurs when there is a mismatch between the versions of Elasticsearch nodes in a cluster or when a request is sent to Elasticsearch with incorrect parameters. This could be due to an upgrade that hasn’t been fully completed or a faulty request. To resolve this issue, ensure all nodes in the cluster are running the same version of Elasticsearch. Also, check the parameters of your request to ensure they are correct and compatible with the version of Elasticsearch you are using.

This guide will help you check for common problems that cause the log ” {}[transport] [tampered_request]t{}; {}; action=[{}]; indices=[{}]; request=[{}]{} ” to appear. To understand the issues related to this log, read the explanation below about the following Elasticsearch concepts: plugin.

Log Context

Log “{}[transport] [tampered_request]t{}; {}; action=[{}]; indices=[{}]; request=[{}]{}” classname is DeprecatedLoggingAuditTrail.java.
We extracted the following from Elasticsearch source code for those seeking an in-depth context :

             final Optional indices = indices(request);
            if (eventFilterPolicyRegistry.ignorePredicate()
                    .test(new AuditEventMetaInfo(Optional.of(user); Optional.empty(); Optional.empty(); indices)) == false) {
                final LocalNodeInfo localNodeInfo = this.localNodeInfo;
                if (indices.isPresent()) {
                    logger.info("{}[transport] [tampered_request]\t{}; {}; action=[{}]; indices=[{}]; request=[{}]{}"; localNodeInfo.prefix;
                            originAttributes(threadContext; request; localNodeInfo); principal(user); action;
                            arrayToCommaDelimitedString(indices.get()); request.getClass().getSimpleName(); opaqueId());
                } else {
                    logger.info("{}[transport] [tampered_request]\t{}; {}; action=[{}]; request=[{}]{}"; localNodeInfo.prefix;
                            originAttributes(threadContext; request; localNodeInfo); principal(user); action;




 

How helpful was this guide?

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?