Format stack trace in console for elastic search

Hi expers.

Below is sample stack trace in log

2021-01011 04:23:23,455 ERROR [beat-logstash-some-name-832-2015.11.28] IndexNotFoundException[no such index]
    at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver$WildcardExpressionResolver.resolve(IndexNameExpressionResolver.java:566)
    at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:133)
    at org.elasticsearch.cluster.metadata.IndexNameExpressionResolver.concreteIndices(IndexNameExpressionResolver.java:77)
    at org.elasticsearch.action.admin.indices.delete.TransportDeleteIndexAction.checkBlock(TransportDeleteIndexAction.java:75)

When i view in console http://localhost:9200/<name_of_index>/_search?pretty

all the line is being collapsed into 1. There got add \n and \r. How can i display n console same as how it display in the log file

Do you mean you are opening that URL in a browser?

ya correct. in kibana no issue. if just open in browser having issue

I would suggest that's the browser not respecting the \n and \r rather than anything else. I don't think this is an Elasticsearch problem.

thanks for the information

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