solrconfig.xml
The Configuring the Apache Solr for enterprise section of Chapter 2, Getting Started with Apache Solr, of this book explains solrconfig.xml
in detail. We will look at the sample configuration in this section for log management. In the Solr configuration, the interesting part will be the introduction of facets. For log management, you may consider the following facets to make the overall browsing experience interesting:
Facet |
Description |
---|---|
Timeline-based |
With this facet, users will be able to effectively filter their search based on the time. For example, options such as the past 1 hour and the past 1 week. |
Levels of log |
Levels of log provide you the severity. For example, SEVERE, ERROR, and Information. |
Host |
Since this system provides a common search for multiple machines, this facet can provide filtering criteria if an administrator is looking for something specific. |
User |
If the administrator knows about the user, extracting user information from the log can add better... |