Skip to content
share

Solr Logs Integration

To make use of the Sematext Solr Logs integration, you'll need to install the Sematext Agent and configure it to ship Solr logs via the Logs Discovery. You will want to create or select an existing Solr Logs App because that is what will provide you with all the out of the box dashboards and alert rules, some of which you can see below.

Once data is in, you can explore it via the built-in reports:

Solr Logs Overview

Be sure to check out the Solr Monitoring integration as well, to get a complete view on Solr. For example, if you see logs of a node restarting, metrics let you see the impact on the rest of the cluster in terms of CPU, GC, and other metrics. Including query time metrics, even if you don't collect logs from [all] queries.

Exploring logs

Once data is in, you can explore it using the built-in reports or create your own. For example, you can use the Queries report to see a breakdown of your queries and "zoom in" to the ones you're interested in:

Solr Queries Report

Other built-in reports include:

  • Errors: breakdown of what's wrong: which nodes/classes/collections/etc generate errors
  • Zookeeper: logs produced by Solr's Zookeeper client and other Zookeeper-related classes and threads. Look here for insights on SolrCloud's stability. For the Zookeeper ensemble itself, check out our Zookeeper monitoring integration
  • Overseer: logs produced by SolrCloud's Overseer thread and other Overseer activities (e.g. shard leader election)
  • Start & Stop: startup-related and shutdown-related logs. Look here if a node went down unexpectedly or doesn't show up in the cluster when started

Troubleshooting

If you are having trouble sending logs, try out the latest version of the Sematext Agent. Additionally, make sure to check out the Log Agents panel for any errors, and refer to our Sematext Logs FAQ for useful tips.