How to show elasticsearch queries in spring boot application

I am trying to use resilient search in a spring boot application and I would like to debug the queries executed by ElasticsearchRepository.

tried logging.level.org.elasticsearch.index.search.slowlog.query=INFO spring.data.elasticsearch.properties.index.search.slowlog.threshold.query.info=1ms

but I didn't see the request print in the log

+3
spring-boot elasticsearch


source to share


No one has answered this question yet

Check out similar questions:

708
How to configure port for Spring Boot application
172
Difference between Spring MVC and Spring Boot
153
Running Code After Spring Boot Begins
4
Query MongoDB Queries with Spring Boot
1
Spring Boot ElasticSearch script_lang not supported [groovy]
0
Elastic search integrates with Spring Boot web application
0
Why couldn't I load elastic search nodes on spring boot because of this error?
0
spring data compatible - elasticsearch with spring boot
0
Spring Boot (v1.5.1.RELEASE) and Spring ElasticSearch 3.0.0
0
Exception on requesting Elasticsearch via spring-boot-starter-data-elasticsearch



All Articles
Loading...
X
Show
Funny
Dev
Pics