# Query Zero Trust Audit Logs

Canonical: https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/audit/view-audit-logs/

Language: en-US

Updated: 2026-11-15T04:11:25.147485Z

The Zero Trust audit page provides network access, DNS query, runtime, and application publishing access records to help analyze time, endpoint, and result. Each record covers a different part of the process. A record does not prove the entire access path succeeded, and its absence alone does not prove no access occurred.

To view existing logs, use an account with the appropriate viewing permission and visibility and go directly to the query steps below. Do not change configuration or generate test events solely for a query. To validate new logs, first check the relevant feature and existing configuration; only when needed should a person with the appropriate management permission adjust it before the corresponding pilot test. Log types have different generation conditions.

## Before Viewing and Testing

-   Use a super administrator account with Zero Trust read permission. Application publishing access also requires a publishing service visible to the account. Actual visibility depends on permissions and deployment.
-   Prepare authorized pilot endpoints, test targets, and times. Records depend on events being generated by the relevant feature, reported by endpoints or services, stored, and queried. A failure at any stage can affect visibility. This page is not a universal switch that enables collection of all logs.
-   Logs may contain sensitive users, endpoints, addresses, domains, and paths. View, share, and retain them according to organizational authorization and data-protection requirements.

## Prepare a Network Access Test

The steps below are for generating pilot records when needed. First check and reuse existing access groups and policies that meet the test requirements. Before changing membership or policy, assess other references and business impact; do not widen access merely to create logs.

1.  Only if the pilot nodes are not already in a suitable source group, under Zero Trust access control, create or select a source access group. Open its details, choose “Add Endpoints” under “Endpoints”, select authorized pilot nodes, and confirm. Review other references before changing an existing group.
2.  In Policies, check the applicable policy’s source, destination, accept or drop action, protocol, direction and ports. Only when creation or changes are needed, an authorized administrator selects the pilot group or node as source and the target node, group or network resource as destination, and sets those conditions for the business. For `TCP` or `UDP`, enter the required test ports; an empty selection means all ports. Save changes and verify enabled status and all conditions.
3.  If the destination requires routing or DNS, complete those configurations separately and check service status. On a route, an empty “Policy Target Groups” selection generates a default allow rule, not default deny. To restrict access, select target groups and check the associated policy.
4.  Once nodes receive the configuration, conduct controlled, authorized tests from expected permitted and non-permitted nodes and record the time and results. Access policies control traffic but do not guarantee a complete log for every connection. See [Access Groups and Policies](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/) and [Network Routes](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/network-resources/network-routes/).

## Prepare DNS, Runtime, and Publishing Tests

-   **DNS Queries:** Confirm the pilot endpoint is connected to Zero Trust and not excluded from DNS management. First check the existing DNS nameserver group’s enabled status, effective access group, server reachability and required matched domains; reuse it if suitable for the test. Only if changes are needed should an authorized administrator assess the impact, configure and save them, then verify that the group is enabled. After the endpoint receives the configuration, query a complete domain owned by or approved for testing by the organization. See [DNS Nameserver Groups](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/dns/dns-nameservers/) for steps and search-domain limits. A corresponding record is not guaranteed when an application bypasses system resolution or the query does not pass through the relevant component.
-   **Runtime Events:** Confirm the pilot endpoint and Zero Trust components are operating. During an authorized maintenance window, perform a controlled connection or configuration change and record the time. Events depend on the actual component and result; do not interrupt production merely to create a record.
-   **Application Publishing Access:** To verify new records, confirm that the target publishing service, associated proxy and authentication requirements are configured and enabled. Access it from an authorized test client and record the time and result. The query page requires a visible publishing service to be selected; if none can be selected, the page cannot query by service, but this alone does not prove historical logs were deleted. Check the service list and permissions and contact an administrator if needed; do not expose an unauthorized service merely to produce a record.

## Select Logs and Query Scope

1.  In Zero Trust, open “Audit” and choose the relevant page. On the relevant card, select **View Records**.

| Page | Information |
| --- | --- |
| Network Access | Recorded allowed, blocked, and connection-end information; filter by result, direction, and protocol. |
| DNS Queries | Recorded query name, type, result, resolver, upstream, and latency; filter by result and name. |
| Runtime Events | Client connection, component status, or configuration-related events; filter by component and result. |
| Application Publishing Access | Access and authentication results for a selected publishing service. |

2.  Select dates and review filters. Initially the pages include the current day and six preceding days; adjust the range for older events. If displayed times differ from the test, check endpoint and browser time and time zone.
3.  Use pagination for subsequent results; each page displays 50 records. Recheck after changing dates or filters rather than inspecting only the first page.

Dates are queried as calendar days in the management browser’s time zone, including both selected dates. For a cross-time-zone investigation, convert the test time to the browser’s time zone before choosing dates. A daylight-saving transition day may not be 24 hours long.

## Analyze Network Access and DNS

1.  In Network Access, choose result, inbound or outbound direction, and protocol. Correlate endpoint, source and destination, rule, traffic, and time. Clear unnecessary filters before narrowing the scope.
2.  In DNS Queries, enter a name and press Enter or move focus away to apply it. Filter by success, not found, or failure as needed. Inspect the query name, type, resolver, upstream, result, and latency.
3.  Match records to the pilot endpoint, test time, and target, and review DNS, routes, policy, and service status. An allowed record does not guarantee an application response; no DNS record does not prove no query was made.

For example, if an internal application does not open, first verify its complete domain from the pilot endpoint, then inspect relevant DNS and network access records, and finally check policy, route, and service. Logs provide clues for recorded stages, not a substitute for business testing.

The DNS name filter matches the complete recorded value exactly; it is not a substring search. A recorded name may be lowercase and end with a dot. The input does not automatically add the dot or change case. If no result appears, clear the name filter, find a record in the appropriate date range, and enter the complete displayed name exactly, then press Enter or move focus away. If records are still missing, check whether the query passed through Zero Trust DNS and whether it was reported.

## Analyze Runtime and Publishing Access

1.  In Runtime Events, filter by component and result, then inspect time and state alongside endpoint connection and configuration status.
2.  When using application publishing, open Application Publishing Access and verify the selected publishing service, date, and results; change service as needed. The page may preselect a service, so do not assume it is the intended target.
3.  If no service is available or loading fails, check service existence, account permissions, and management service status. Investigate alongside publishing service, authentication, proxy, and application status. A record does not prove the user completed a business operation.

**Interpreting the authentication column:** For HTTP access, the displayed success or failure can depend on the HTTP response status: `401` or `403` may appear as failure, while other statuses, including service errors, may appear as success. For non-HTTP records such as TCP, UDP, or TLS, a failure display does not necessarily mean a user authentication failed. Assess the service authentication mode, response code, source, and target application logs together in controlled tests; do not infer authentication success, failure, or user identity from this column alone. The corresponding English labels are **Authentication**, **Success**, and **Failed**.

## Common Problems

-   **Record missing:** Expand dates, clear filters, check pages, endpoint and service selection, then confirm configuration, the test event, reporting, and storage.
    
-   **Page fails to load:** Check permissions, network, and service status. A failed query differs from a successful query with no data.
    
-   **DNS search unchanged:** Press Enter or move focus after input and check dates and result filters.
    
-   **Times or results differ:** Check time zones, event stages, and subjects; different logs may not cover all stages of the same event.
    
-   **Further investigation:** Record only necessary times, endpoints, test results, and page messages under the authorization process; avoid distributing complete logs or sensitive addresses.
    
-   **Older records are missing:** A super administrator authorized to manage platform settings can open **Data Cleanup** in system settings and inspect **Enable automatic cleanup**, the **Zero Trust events** scope under business records, and its retention period. Check the execution result in the data cleanup log under platform logs. When that scope is enabled and executed, expired network access, DNS, runtime, and application publishing access records may all be cleaned. Confirm the organization’s retention requirements and execution records before making changes; do not change retention casually for troubleshooting, and do not expect disabling cleanup to restore deleted records.
    
-   [Access policies](https://www.nsecsoft.com/en/docs/ping64-zero-trust/zero-trust/access-control/access-policy/)
