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 can I set up SphinxSearch to work with Yandex?
- How can I use Sphinx Search with Python to create an example application?
- How do I configure Sphinxsearch on a specific port?
- How can I use the Sphinx Search API in PHP?
- How can I use Sphinx Search to weigh my search results?
- How can I use Sphinx Search to create a wiki?
- How do I install Sphinx Search?
- How do I integrate Sphinxsearch with Yii2?
- How can I use Sphinx Search to generate word forms?
See more codes...