corestack_ logs_ field_ values_ list
Log field values.
When to use it
The values one log field takes over a window (24 hours by default), most frequent first, optionally those starting with a prefix: up to 50.
Ask for it
Using the Corefinity MCP server, call corestack_logs_field_values_list with site_id 4211, field status. (Log field values.) Tell me what it returned.Inputs
environment_idinteger
A row of the same site: production or one of its environments. Omitted: the row site_id names. At least 1.
fieldstringRequired
A field name from corestack_logs_fields_list. Up to 128 characters.
fromstring
ISO 8601; with to, instead of range. Format: date-time.
prefixstring
Up to 256 characters.
rangestring
Back from now, inside the site's retention.
15m1h6h24h7d30dscopestring
Env (the default): that one row; site: every environment of the site you may see. Defaults to env.
envsitesite_idintegerRequired
The site (any of its environments answers for its group). At least 1.
sourcestring
One log source (corestack_logs_streams_list says which this row has). Defaults to all.
allweb-accessweb-errorphpappcrondatabasecachesearchqueuetostring
ISO 8601; defaults to now. Format: date-time.
Example call
{
"name": "corestack_logs_field_values_list",
"arguments": {
"site_id": 4211,
"field": "status"
}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?