Server/CDN LogsUpdated October 13, 2026·Beginner friendly

How to Connect cPanel/WHM Server Logs to Visiqa 360

This guide shows you how to connect a website hosted on cPanel or WHM to Visiqa 360 without changing WordPress, GTM, your theme, or frontend code. You will first upload historical Apache access logs, then install the Visiqa Python forwarder so new server requests are sent automatically by secure HTTP Push.

You do not need to be a server engineer. If you can open cPanel Terminal and copy and paste a command, you can complete this setup.

What you will set up

There are two parts. Historical file upload gives Visiqa older request data. HTTP Push then keeps the data fresh by sending only new Apache log lines every few minutes.

Historical cPanel HTTP + HTTPS logs
              ↓
      one-time file upload
              ↓
        Visiqa warehouse

New Apache log lines
              ↓
  Visiqa Python forwarder
              ↓
     HTTPS every 5 minutes
              ↓
        Visiqa warehouse

This lets Visiqa create first-party evidence for crawl activity, bot activity, HTTP health, URL discovery, and—when the source includes the fields—server performance and cache behavior.

Before you start

You need a Visiqa website, access to that website's cPanel account, and cPanel Terminal or Cron Jobs access. Keep the Visiqa ingestion token private. Do not paste it into support tickets, chat messages, screenshots, WordPress, or GTM.

Screenshot to add: Visiqa → Settings → Connections → Server/CDN Logs showing the selected Website target.

1. Create the Visiqa log source

Open Visiqa → Settings → Connections → Server/CDN Logs. For a typical cPanel Apache website, use:

Source nameYour Website cPanel Logs
Source typeApache
IngestionUpload + Push
Log scopeDedicated website log
Collection coverageUnknown

Use Unknown until you know the logs cover the whole period continuously. Visiqa intentionally treats missing data as unknown rather than inventing a zero.

Screenshot to add: the Add log source form with Apache, Upload + Push, Dedicated website log, and Unknown selected.

2. Upload historical cPanel logs

In cPanel, go to Metrics → Raw Access. cPanel lists logs by domain and can provide compressed raw access logs. Its documentation also explains archived logs and the account's log retention options.

Download the HTTP and HTTPS logs for the same website. Upload both to the same Visiqa source. They are two transport variants of one canonical website, not two separate websites.

website.example.com              → HTTP requests
website.example.com-ssl_log      → HTTPS requests

Both files → SAME Visiqa historical source

Visiqa accepts cPanel raw-log filenames even when they do not end in .log. The current upload limit is 250 MB per file, and exact duplicate batches are idempotent so the same transport file is not counted twice.

Screenshot to add: cPanel Raw Access page showing the website's HTTP and SSL log entries, then the Visiqa Upload Log File control.

Official reference: cPanel Raw Access documentation.

3. Find the live cPanel logs

Open cPanel → Advanced → Terminal. This read-only command lists likely live log files for your domain. Replace example.com with your domain.

echo "=== Visiqa: looking for live domain logs ==="
echo "Home: $HOME"
echo

ls -lah "$HOME/access-logs" 2>/dev/null

echo
echo "=== Possible website logs ==="

find -L "$HOME/access-logs" \
  -maxdepth 1 \
  -type f \
  -printf '%p\n' 2>/dev/null \
  | grep -Fi 'example.com'

A normal result may contain one non-SSL file and one -ssl_log file. These domain-specific files are preferred because the same cPanel account may host many websites.

4. Install automatic HTTP Push

The HTTP Push forwarder runs on the server. It is not a WordPress plugin and it is not a GTM tag. Download the official Visiqa forwarder, then run its installer.

First, copy the Push Endpoint from your Visiqa source. Then paste this block into cPanel Terminal. Replace the two --log values with the live paths you found in the previous step.

curl -fsSL https://api.visiqa360.com/api/server-logs/forwarder.py \
  -o "$HOME/visiqa-log-forwarder.py"

chmod 700 "$HOME/visiqa-log-forwarder.py"

read -rp "Paste the Visiqa PUSH ENDPOINT: " VISIQA_ENDPOINT

python3 "$HOME/visiqa-log-forwarder.py" install \
  --endpoint "$VISIQA_ENDPOINT" \
  --website "https://example.com" \
  --log "/home/USERNAME/access-logs/EXAMPLE_HTTP_LOG" \
  --log "/home/USERNAME/access-logs/EXAMPLE_SSL_LOG"

unset VISIQA_ENDPOINT

The installer asks for the ingestion token in a hidden prompt. Paste the token and press Enter. Nothing appears while you type or paste it; that is intentional.

Paste the Visiqa ingestion token (hidden):

Visiqa connection verified ✓
Website: https://example.com/
Live logs:
  ✓ ...HTTP log...
  ✓ ...SSL log...
Automatic forwarding: enabled every 5 minutes ✓

If the hosting provider does not allow the installer to create a user cron automatically, Visiqa prints the exact cron command. cPanel's Cron Jobs interface lets you schedule scripts at defined intervals.

Official reference: cPanel Cron Jobs documentation.

Screenshot to add: successful Terminal output showing “Visiqa connection verified” and “Automatic forwarding: enabled every 5 minutes”. Never show the token.

5. What the Python forwarder does

The production forwarder uses only Python's standard library, so it does not require a separate pip package installation. You can inspect or download the complete current script directly from Visiqa:

View/download the complete Python forwarder

It verifies the token before saving it

token = getpass.getpass("Paste the Visiqa ingestion token (hidden): ").strip()
verified = _verify({**config, "token": token})

This prevents a typo or wrong source token from silently installing a broken connector.

It starts at the current end of the live logs

state["files"][log_path] = {
    "device": int(stat.st_dev),
    "inode": int(stat.st_ino),
    "size": int(stat.st_size),
    "offset": int(stat.st_size),
}

Historical data should come from file upload. Starting the live forwarder at the current end prevents the same old requests from being resent immediately.

It sends only new lines

handle.seek(offset)
line = handle.readline()
...
new_offset = handle.tell()

The inode and byte offset are remembered between runs. If the server rotates or truncates a log, the agent detects that the file changed and safely starts from the beginning of the new file.

It sends the batch over HTTPS

headers = {
  "X-Visiqa-Ingest-Token": token,
  "User-Agent": "VisiqaLogForwarder/1.0",
  "Content-Type": "text/plain; charset=utf-8",
}

POST https://api.visiqa360.com/api/server-logs/ingest/SOURCE_ID

The offset is advanced only after Visiqa accepts the batch. A failed request is therefore retried rather than silently discarded.

6. Verify that it is working

Visit a few pages on the website, wait for the next cron run, or run the forwarder manually once:

python3 "$HOME/.visiqa/visiqa-log-forwarder.py" run

Then check its status:

python3 "$HOME/.visiqa/visiqa-log-forwarder.py" status

And inspect the latest local diagnostic messages:

tail -n 20 "$HOME/.visiqa/server-log-forwarder.log"

A healthy push looks like:

OK example.com-ssl_log bytes=4023 accepted=16 rejected=0

Back in Visiqa, request counts, bot requests, HTTP errors, and unique paths should begin updating automatically.

Screenshot to add: Visiqa source card showing requests, bot requests, HTTP errors, unique paths, and the HTTP Push endpoint.

7. Shared WHM servers and multiple websites

If one cPanel account hosts many websites, use only the selected website's domain-specific files. Do not point a Dedicated website source at a global server log.

Shared cPanel account
├── website-a.com logs          untouched
├── website-b.com logs          untouched
└── example.com logs            → Visiqa source for example.com

If you truly have one mixed server log containing several virtual hosts, create the source as Mixed server / vhosts. Every accepted row must include its hostname. Visiqa rejects hostless rows and rows belonging to another website.

8. Privacy and security

The connector is designed to minimize stored request data. Visiqa does not warehouse raw visitor IP addresses, raw query-string values, or full user-agent strings. Query parameter names may be retained as a value-free signature so technical patterns can still be analyzed.

A bot name found in a User-Agent is stored as UA-claimed. Visiqa does not call it provider-verified unless the source supplies an explicit verification signal.

The forwarder token is stored in the cPanel user's private ~/.visiqa configuration with restrictive file permissions. The server makes an outbound HTTPS connection to Visiqa; Visiqa does not require the client's cPanel, WHM, SSH, or WordPress password.

9. Troubleshooting

The cPanel log is hidden in the file picker

Some cPanel files have names such as -ssl_log instead of a normal .log extension. Current Visiqa file upload accepts these raw filenames.

The upload says the file is too large

The Visiqa file-upload limit is 250 MB. Compress or split a larger historical log before upload.

Average response time says Unavailable

That is not automatically an error. Standard Apache combined logs often do not contain a request-duration field. Visiqa reports the evidence as unavailable instead of pretending the value is zero.

Cache behavior says Unavailable

Apache access logs normally do not include CDN cache HIT/MISS metadata. A CDN source such as Cloudflare can provide cache evidence when the relevant fields are present.

The installer cannot create cron

Open cPanel → Advanced → Cron Jobs and add the exact command printed by the installer. Use the interval requested by the Visiqa setup screen.

10. Token rotation and maintenance

If a token appears in a screenshot, chat, ticket, or public document, rotate it in Visiqa immediately. Then download the latest forwarder and update only the token:

curl -fsSL https://api.visiqa360.com/api/server-logs/forwarder.py \
  -o "$HOME/.visiqa/visiqa-log-forwarder.py"

chmod 700 "$HOME/.visiqa/visiqa-log-forwarder.py"

python3 "$HOME/.visiqa/visiqa-log-forwarder.py" set-token

The new token is verified before it replaces the old one, and existing log offsets are preserved.

To stop forwarding:

python3 "$HOME/.visiqa/visiqa-log-forwarder.py" uninstall

Frequently asked questions

Do I add this to WordPress or GTM?

No. It runs server-side under the cPanel account. That is why it can observe crawler requests, redirects, 404s, and other requests that browser JavaScript may never see.

Should HTTP and HTTPS be separate Visiqa websites?

No. If they belong to the same canonical website, keep them together. Upload both historical files to the same historical source and let the live source watch both live files.

Should I create a second source for the second historical file?

No. Use the same historical upload source for the website's HTTP and HTTPS logs.

Does a Googlebot request prove the page is indexed?

No. Server logs prove that a request reached the server or CDN. They do not prove indexing, rankings, or AI citations. Visiqa keeps those evidence types separate.

Can I upload history and use HTTP Push at the same time?

Yes. That is the recommended model: historical upload for the past and HTTP Push for new requests going forward.

Ready to connect your server logs?

Create your Visiqa website, open Server/CDN Logs, and follow the steps above. Start with historical file upload, then enable HTTP Push for continuous evidence.