corecluster_ logs_ field_ values_ list
CoreCluster log field values.
When to use it
The values one log field takes across a CoreCluster's sites 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 corecluster_logs_field_values_list with cluster_id 812, field status, source web-access. (CoreCluster log field values.) Tell me what it returned.Inputs
The CoreCluster. At least 1.
Production (the default): each site's production row; all: its environments too. Defaults to production.
productionallA field name from corecluster_logs_fields_list. Up to 128 characters.
ISO 8601; with to, instead of range. Format: date-time.
Up to 256 characters.
Back from now, inside the cluster's retention.
15m1h6h24h7d30dThe site ids (production rows) of this cluster to read, each once; omitted or empty: every site you may see on it. corestack_site_list with cluster_id names them. Up to 200 items.
One log source. Defaults to all.
allweb-accessweb-errorphpappcrondatabasecachesearchqueueISO 8601; defaults to now. Format: date-time.
Example call
{
"name": "corecluster_logs_field_values_list",
"arguments": {
"cluster_id": 812,
"field": "status",
"source": "web-access"
}
}If it is refused
| Reason | What to do |
|---|---|
logs_not_collected | None of the sites read has its logs collected on this cluster yet (or none is left after sites, environment and the token's pins); nothing to read. |
logs_unavailable | This source's logs start once the sites' next platform update has applied. |
query_too_wide | The read covers too many sites or too much text at once; name fewer sites, add a source or narrow the window. |
logs_cluster_unavailable | Logs cannot be read at the moment; try again shortly. |
tenant_mismatch | Also answers a platform cluster, and a sites entry that is not one of this cluster's sites you may see. |
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. |
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. |
logs_busy | See how this server works. |
The answer
{field,: at most 50 values; truncated when there are more.
A token limited to some sites
The read holds only the rows the token's pins cover — its lines, and an export's file. A sites entry outside the pins
is pin_refused naming that site. Under a token limited to some environments of a site, leave sites out and send
environment: "all": the read then covers exactly the rows the token may read.