Run commands using the following syntax:
dbug <command> [options] [arguments]For a simple summary without details:
dbug --simplecache:liveTail and filter all cache requests. Available filters: `method, key` example: --filter='method=="hget"&&key=="user:*"' Wildcards (*) are supported for key filtering
Options:
--filter[=FILTER] - Filter results using php condition syntaxExample:
dbug cache:livecache:statsShow cache stats
Example:
dbug cache:statsdb:locksGet database locks
Options:
--json - Output as JSONExample:
dbug db:locksdb:slowlogGet database slowlog for the main database
Options:
--json - Output as JSONExample:
dbug db:slowlogerrors:liveTail all error logs
Example:
dbug errors:livesearch:statsShow Opensearch cluster health and performance metrics
Example:
dbug search:statssession:liveTail and filter all session requests. Available filters: `method, key` example: --filter='method=="hget"&&key=="user:*"' Wildcards (*) are supported for key filtering
Options:
--filter[=FILTER] - Filter results using php condition syntaxExample:
dbug session:livesession:statsShow session stats
Example:
dbug session:statstraffic:liveTail access logs. Available filters: `clientIP, datetime, status, domain, realIP, country, userAgent, referrer, requestType, requestPath` example: --filter='(clientIP==xx.xx.xx.xx||clientIP==yy.yy.yy.yy)&&requestPath!=https://y.systems/x.html'
Options:
--filter[=FILTER] - Filter results using php condition syntaxExample:
dbug traffic:livetraffic:statsParse access logs for stats
Options:
--until-minutes-ago[=UNTIL-MINUTES-AGO] - Parse logs until X minutes ago--hide-bots - Do not parse bots from UserAgents (this is a bit faster)--json - Output as JSONExample:
dbug traffic:statsvarnish:analyze:urlAnalyse a single Varnish URL to find out why it keeps missing
Arguments:
url (required) - URL you want to debug between single quotesOptions:
--json - Output as JSONExample:
dbug varnish:analyze:urlvarnish:liveTail and filter the varnish log Available filters: `path, ip, domain, return` example: --filter='path=="/api/v1"&&return=="HIT"'
Options:
--filter[=FILTER] - Filter results using php condition syntaxExample:
dbug varnish:livevarnish:statsThis command will parse logs since the last restart
Options:
--json - Output as JSONExample:
dbug varnish:stats
Was dit artikel nuttig?
Dat is fantastisch!
Hartelijk dank voor uw beoordeling
Sorry dat we u niet konden helpen
Hartelijk dank voor uw beoordeling
Feedback verzonden
We stellen uw moeite op prijs en zullen proberen het artikel te verbeteren