Frequently Asked Questions - SearchStax

The SearchStax® Frequently Asked Questions page includes the following approved question and answer about our Apache Solr Cloud services.

Can we log queries?

Situations arise where users need to view the incoming queries to their solr servers. The method depends on whether you have a cluster or a single node.

Dedicated Cluster

Due to technical considerations, query logs are most naturally obtained from the Solr cluster's load balancer. SearchStax makes the load balancer logs available through the SearchStax dashboard.

SearchStax Load Balancer Logs

These are access logs that record the incoming queries, like this one:


SearchStax updates these logs once per hour.

Dedicated Node

Single-node deployments do not have load balancers, so the procedure is more complicated.

From the SearchStax Cloud Manager, click on the name of the deployment. Then click the Solr Endpoint URL to open the Solr Dashboard.

Click Logging and then Level. Scroll down to /org/apache/solr/request/. Set the logging level to DEBUG.

SearchStax Log Debug

This setting will remain active until (1) you manually reset it or (2) you restart Solr.

Query notations appear in the Solr.log file:

2019-01-11 16:49:42.508 DEBUG (qtp415138788-13) [c:filmcollection s:shard1 r:core_node2 x:filmcollection_shard1_replica_n1] o.a.s.c.S.Request [filmcollection_shard1_replica_n1]  webapp=/solr path=/select params={q=director_name:"Steven+Spielberg"&indent=true&fl=movie_title&wt=json}

SearchStax Analytics

SearchStax Analytics Usage Metrics

Bear in mind that the SearchStax Analytics Top Searches feature summarizes your incoming queries in a table that is designed for business users.


We love to answer questions!

Please contact the SearchStax Support Desk immediately if you have any question about Solr Cloud deployments.

Return to Frequently Asked Questions.