sphinxsearchHow can I create a Sphinx search query log?
- Create a log file for Sphinx search query by using the
searchd --log
option. 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-time
option. 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-results
option. 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-errors
option. 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-warnings
option. 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-params
option. 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-meta
option. 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 do I configure SphinxSearch using YAML?
- How do I configure SphinxSearch to ignore certain stop words?
- How do I use SphinxSearch with XMLPipe2?
- How can I use Sphinx Search to create a wiki?
- How do I use Sphinxsearch with Zsh?
- How do I use the word count ranker in SphinxSearch?
- How do I integrate Sphinxsearch with Yii2?
- How do I install Sphinxsearch 3 on Ubuntu?
- How can I use Sphinxsearch with Django?
- How can I use SphinxSearch and Zabbix together to monitor my system?
See more codes...