CorefinityCorefinityDocs
Open the Control PanelControl Panel
Logs and monitoring · 1 of 6

Read a site's logs, narrow them to what you need and open one line.

On this page

Before you start

  • You can open the site in Managed Websites. Anyone who can open a site can read its logs.

Read a site's logs

  1. Open the site's logs

    Go to Managed Websites, choose the site, then Logs under Logs & monitoring. The newest lines from the last hour are shown.

  2. Narrow them down

    Choose a source, such as PHP, and a time range, such as 24 h. Enter text in Search text… or choose a Level, Status or Method, then choose Run.

  3. Open a line

    Choose a line to see every field. Filter by this value narrows the search to that value, and Context shows the 20 lines before and after.

Find what you need

ToDo this
See errors onlyChoose error beside Level, then Run.
See failed requestsChoose 5xx beside Status, then Run.
Leave lines outChange Phrase to Exclude, type the text, then Run.
Look at one momentChoose a bar in the chart.
See older linesChoose Load older, under the lines.
Watch lines arriveChoose Live. Stop live ends it.
Start againChoose Reset.
Keep a search or its linesSee Saved queries and downloads.

Check log storage

  1. Open the site's Overview

    The Logs & errors card shows how much log storage is used and how long lines are kept. Open Logs › takes you to the logs.

The same figures are above the chart in Logs.

Automate this

Logs

Answers the lines of the site that match, newest first; a query that ends in an aggregating pipe, such as | stats count(), answers kind table with table instead of lines.

POST/api/corestack/sites/{site}/logs/query
curl -X POST https://manage.corefinity.com/api/corestack/sites/1042/logs/query \
  -H "Authorization: Bearer $COREFINITY_TOKEN" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{
    "limit": 200,
    "query": "status:>=500",
    "range": "1h",
    "source": "web-access"
  }'
Was this helpful?
Open in ClaudeOpen in ChatGPT