SearchRequestBuilder.toString() : Print Non Pretty way

Hello There,

We are using fluentd to analyse our application logs and have difficulties in parsing the log which gets printed when we use SearchRequestBuilder.toString(). This prints the query in pretty way which makes it difficult to fluentd to parse.

But still, we need this log to be printed but non-pretty way. How can I set the right params to do this?


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