Logs, Configuration and Database Metadata From the Customer’s Side, Without a Screen-Share
When a customer approves diagnostic access, someone still has to fetch the logs, check the version and look at the database, usually the customer, over e-mail, one question at a time. The Connect agent does that part: a small program the customer runs that reads only what they point it at, connects only out, runs nothing it is sent, and stops when access ends.

When a customer approves diagnostic access in TicketResolve Connect, someone still has to fetch the logs, check the version, and look at the database. Usually that's the customer, guided over e-mail, one question at a time.
Here's that e-mail thread at a company that sells warehouse-management software, for a customer whose picking lists have started printing late:
- "Which version are you on?" → a day later: "4.11, I think."
- "Could you send the last hour of the app log?" → "Which file is that?"
- "/var/log/wms/app.log" → "It's 2 GB, I can't attach it."
- "Could you run
tail -n 500on it?" → "Our security policy doesn't let me run commands from vendors." - "Could you check how big the picks table is?" → "I'll ask our DBA."
A week in, support has a version number and half a log excerpt. Every step was reasonable; the customer was helpful. It was just slow, and each answer only led to the next question.
The Connect agent does that part. It's a single Node.js file the customer runs where it can reach their systems.
First, the basics
- The Connect agent is a small program (one Node.js file) the customer runs on a machine that can reach their systems.
- A token identifies the agent for one session. The customer creates it after approving access.
- Outbound only means the agent connects to TicketResolve; nothing connects in. There's no inbound port.
- A collector is a fixed piece of the agent that gathers one kind of evidence. A task asks it to run.
- Docker and Kubernetes run software in containers and pods. OOM kills are containers stopped for using too much memory.
- Database metadata describes the database (version, table sizes, connections, lock waits) without reading any rows.
- Masking hides passwords, keys, tokens, connection strings, e-mail addresses and card numbers.
- The access window is how long access lasts once approved.
Why does this matter? Most diagnostic back-and-forth is fetching facts the customer's systems already have. An agent the customer controls, that can only read what they point it at and can't be told to do anything else, gets those facts in minutes without asking the customer to trust you with a shell.
The problem, in plain terms
- Facts arrive one e-mail at a time.
- Logs are too big to send.
- Customers can't run vendors' commands.
- Database questions need a DBA.
- Access, once given, is hard to scope.
The customer stays in control
- The token is theirs. They create it on the authorization page after approving. It's shown only to them, and creating a new one replaces it. The support team never sees it.
- It reads only what they point it at. Log files, containers, configuration files, read-only database URLs and Kubernetes namespaces are all set by the customer on their own machine. Database URLs never leave it.
- It only connects out. There's no inbound port. Every 15 seconds it asks TicketResolve whether there's work.
- It runs nothing it is sent. Each task is a fixed collector built into the agent: environment, logs, configuration, Docker, Kubernetes, database metadata or API checks. There's no way to send it a command.
- It stops when access ends. That's when the access window closes, the customer ends it, or support ends it. At its next check-in the agent is told to stop.
What it collects
| Task | What comes back |
|---|---|
| Environment | Product version (if set), OS, platform, container runtime, database types, monitoring tools, running services |
| Logs | The last lines of each configured log file or container, for the last N minutes, optionally filtered |
| Configuration | Keys and values, with secret-looking keys dropped, not just masked |
| Docker / Kubernetes | Container and pod state, restarts, exit codes, OOM kills, warning events |
| Database metadata | Version, the largest tables and their sizes, index count, connections, lock waits — never rows |
| API checks | Status, timing and response shape for GET, HEAD or GraphQL queries to the endpoints on the session |
Checked twice, masked twice
The support team can only queue tasks for items the customer allowed. The server checks again before the agent receives a task, and again before it stores the result.
Everything is masked on the customer's machine and again on ours. That covers passwords, keys, tokens, connection strings, e-mail addresses and card numbers.
Results go into the investigation's evidence ledger marked as customer-reported. A log line can contain anything, including misleading text, so it never counts as confirmed on its own.
A worked example, start to finish
Here's the warehouse customer's late picking lists, with the Connect agent. The details are illustrative.
Day 1, 09:00. The support engineer, Bram, requests Connect access with environment details, application logs, configuration and database metadata. The customer's ops lead approves for 24 hours.
09:20. On the authorization page, she creates the agent token (shown only to her), downloads the agent and sets, on her own machine: the product version, the log file /var/log/wms/app.log, the config file /etc/wms/settings.yaml, and a read-only database URL for a metadata-only user. She runs it. No inbound port; it checks for work every 15 seconds.
09:25, tasks. Bram queues four tasks. Each is checked against what she allowed, then again before the agent receives it.
- Environment: product 4.11.2, Ubuntu 22.04, PostgreSQL 15, running services including
wms-print-queue. - Logs: last 60 minutes of
app.log, filtered for "print":print-queue: batch of 2,400 picks took 412severy 10 minutes since Thursday. - Configuration:
print.batch_size: 2400,print.interval: 600. The keysmtp.passwordwas dropped, not just masked. - Database metadata: the
pickstable is the largest, 48 GB; lock waits onpicksduring each batch. No rows read.
09:30. All four results are masked on her machine and again on arrival, and go into the investigation as customer-reported.
10:00. With the version, the timings and the table size in front of them, engineering spots it: version 4.11 removed an index on picks.status in a migration, and on a 48 GB table each print batch scans the whole table. The fix: restore the index (a migration for 4.11.3) and, meanwhile, a smaller batch size the customer can set herself.
10:15. The customer changes print.batch_size to 400. Picking lists print on time by 10:30.
Day 2, 09:00. The 24-hour window closes. At its next check-in, the agent is told to stop.
A week of e-mails became an hour.
Five more real-world scenarios
1. Support asks for an item not allowed
Situation. Bram tries to queue a Kubernetes task, but the customer didn't allow it.
How TR handles it. Support can only queue tasks for allowed items; the server checks again.
2. A misleading log line
Situation. A log line says "root cause: network failure".
How TR handles it. It's customer-reported evidence and never counts as confirmed on its own.
3. A new token
Situation. The customer thinks the token was exposed.
How TR handles it. Creating a new one replaces it.
4. Secret-looking configuration
Situation. A config file has api_secret: ….
How TR handles it. Secret-looking keys are dropped, not just masked.
5. Ending early
Situation. The customer wants to stop before the window closes.
How TR handles it. She ends it; the agent is told to stop at its next check-in.
Pointing the agent at the right things
The agent reads only what the customer configures, so a little thought up front saves a second round:
- Logs: the application's own log, not the whole log directory. Add the web server's error log if requests are failing.
- Configuration: the product's settings file. Secret-looking keys are dropped anyway.
- Database: a user that can see metadata but not rows, such as PostgreSQL's
pg_monitor. - Containers or Kubernetes: only the namespaces the product runs in.
Support can say in the ticket what's likely to help, and the customer decides.
Before and after
Before. A week of e-mails: a version "I think", a log too big to send, a command the customer wasn't allowed to run, and a question waiting for a DBA.
After. One approval, one agent the customer configured, four tasks in five minutes, a 48 GB table and its lock waits found from metadata alone, and access that ended on its own.
How to tell it's working
- Version, logs and configuration arrive in the first hour.
- Fewer e-mail rounds per technical ticket.
- Customers approve the agent because they control it.
Who it's for
- Support engineers for self-hosted or customer-hosted products.
- Customers' ops and security teams who need tight control.
- Engineering, who get facts instead of guesses.
How it fits with the rest of TicketResolve
The agent is part of TicketResolve Connect (Customer environment connect). Its results feed investigations and reproduction; Connect fleet installs it permanently with consent per request; Connect Health shows agents and their versions.
Mistakes to avoid
- Pointing the agent at everything. Point it at what the ticket needs.
- Using a database user that can read rows. Use a metadata-only user.
- Treating log lines as confirmed.
Do it in TicketResolve, step by step
Where: the Connect session (/dashboard/connect) and the customer's authorization page. You'll need: Customer environment connect; Node 18 or later on the customer's machine. Full guides: TR Investigate: from a ticket to a verified fix and the TicketResolve Connect guide.
- Request access with the items you need.
- The customer approves and creates the agent token (shown only to them).
- The customer configures the agent on their machine: version, log files, containers, config files, read-only database URLs, namespaces.
- The customer runs it. It connects out and checks for work every 15 seconds.
- Queue tasks for allowed items: environment, logs, configuration, Docker, Kubernetes, database metadata, API checks.
- Read the results in the investigation, masked and labelled customer-reported.
- End access when done, or let the window close.
How to check it worked: the session shows each task's result, and the agent stops at its next check-in after access ends.
Frequently asked questions
Who sees the token? Only the customer. Support never sees it.
Does anything connect into their network? No. There's no inbound port; the agent connects out.
Can support send it a command? No. Each task is a fixed collector built into the agent.
Does it read database rows? No. Only metadata: version, table sizes, indexes, connections, lock waits.
Do database URLs leave their machine? No.
How is data masked? On the customer's machine and again on ours.
What happens to secret-looking config keys? They're dropped, not just masked.
When does it stop? When the access window closes, or either side ends it.
Which logs should the customer point the agent at? The application's own log, plus the web server's error log if requests are failing.
Explore Topics
Written by
Ghulam Shabbir
Content creator and writer sharing insights and stories.


