sphinxsearchHow can I create a Sphinx search query log?
- Create a log file for Sphinx search query by using the
searchd --logoption. This option can be used to log all queries that are sent to Sphinx.
searchd --log /path/to/sphinx.log
- To log the query time, use the
--log-query-timeoption. This will log the query time in microseconds.
searchd --log-query-time /path/to/sphinx.log
- To log the query results, use the
--log-query-resultsoption. This will log the query results in JSON format.
searchd --log-query-results /path/to/sphinx.log
- To log the query errors, use the
--log-query-errorsoption. This will log the query errors in plain text format.
searchd --log-query-errors /path/to/sphinx.log
- To log the query warnings, use the
--log-query-warningsoption. This will log the query warnings in plain text format.
searchd --log-query-warnings /path/to/sphinx.log
- To log the query parameters, use the
--log-query-paramsoption. This will log the query parameters in plain text format.
searchd --log-query-params /path/to/sphinx.log
- To log the query meta-data, use the
--log-query-metaoption. This will log the query meta-data in plain text format.
searchd --log-query-meta /path/to/sphinx.log
Helpful links
More of Sphinxsearch
- How can I use SphinxSearch and Zabbix together to monitor my system?
- How do I find the version of Sphinx Search I'm using?
- How do I install and configure Sphinxsearch on Ubuntu?
- How can I use Sphinx to search for words in a specific form?
- How can I use Sphinxsearch with Django?
- How do I install Sphinxsearch 3 on Ubuntu?
- How can I use Sphinx Search to weigh my search results?
- How do I upgrade Sphinx Search?
- How do I use the word count ranker in SphinxSearch?
- How can I use Sphinx Search to create a wiki?
See more codes...