Read the proxy query log and send audit lines to a SIEM
Show what a Cloud diagnosis read in your network. See every query a proxy ran or refused, export the rows, and collect the same facts as JSON lines in your own log system.
Each row is one query that Tellagen asked the proxy to run. That includes queries the proxy refused, queries that were cancelled and queries that found the proxy offline. A row never holds log text.
Steps
Open the query log
Go to Settings → AI diagnosis → Cloud, select the proxy, then select View query log. You get the last 30 days. With more than one proxy, switch with Proxy.
The first line counts the queries by result, the data returned and the redactions. If it says Redaction off, some queries ran without redaction.
Find the queries you need
Narrow the rows with Datasource, Result and Run. Run offers only the runs already loaded, so select Load more first to find an older one. Choose Test queries for the queries that no diagnosis ran, such as the test at the end of setup. Choose Answers for the queries Tellagen ran to answer a question.
Select a row for the full query, the series labels, the id of the stored artifact, the trace step and the run. A refused row says why, for example "not an allowed datasource".
Export the rows
Select Export CSV. The file follows Datasource and Result and holds the last 30 days, up to 20,000 rows. It ignores Run and Test queries, so it holds every run.
Check one diagnosis
In the incident, open the Diagnosis tab, open Run log on a Cloud run, then find Proxy queries. You get the rows of that run only, with who started it, when, on which proxy and under which policy revision.
Collect the audit lines
The proxy writes one JSON line for each query to its standard output, and its own messages to standard error. Point your log shipper at the output of the container and keep the lines that have
"event":"command".To see them, run
kubectl logs -n tellagen deploy/tellagen-proxy,docker logs tellagen-proxyordocker compose logs tellagen-proxy. With two or more replicas, each pod writes its own lines, so collect them from every pod.
What happens next
- A line has the time, the run and the incident, who started it, the datasource, the query and its range, the outcome, the sizes, the redactions and the policy revision. It has no token, no result and no log text.
- A query for an answer has a run id that starts with
ans_. - Keep the audit lines in your own system for as long as your audit needs them.
FAQs
The query log is empty. Why?
Your filters match nothing, or the proxy ran no query in the last 30 days. Choose All datasources, All results and All runs.
Why does a row say Refused?
The policy of the proxy stopped the query. The result names the reason, for example "range over the limit", "not an allowed datasource" or "that kind of query is off".
My SIEM sees no audit lines. What do I check?
Check that the shipper reads the standard output of the container, not only a file on the node. Run the log command above to compare.
Can I see rows older than 30 days?
Not in Tellagen. The query log shows the last 30 days. Keep the audit lines in your own system to look further back.
Can a responder open the full query log?
No. Only an admin can. A responder sees the queries of one diagnosis under Proxy queries in its Run log.
Related guides
Did this help?
Updated . Something out of date? Write to [email protected]. Open Markdown version