okx-audit-log

Describe the Onchain OS audit log path and JSON Lines format.

3|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill okx-audit-log
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: okx-audit-log
Source: https://github.com/Pieverse-Eng/purrfect-skills/tree/main/okx/vendor/okx-audit-log
Command: npx skills add https://github.com/Pieverse-Eng/purrfect-skills --skill okx-audit-log

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides a clear, authoritative location and format description for Onchain OS audit logs so developers and support engineers can find and export logs for offline troubleshooting without guessing paths or formats.

Core Features & Use Cases

  • Supplies the canonical audit log file path and the alternative environment-variable-based location.
  • Explains the JSON Lines format, the device header structure, key entry fields (ts, source, command, ok, duration_ms, args redacted, error), and the rotation policy.
  • Useful when a developer or operator requests the audit log location, needs to export command history for debugging, or must verify log structure for offline analysis.

Quick Start

Ask the assistant for the Onchain OS audit log file path and its JSON Lines format for export and troubleshooting.

Frequently Asked Questions about okx-audit-log

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Where are Onchain OS audit logs stored for offline troubleshooting?

The Onchain OS audit log uses a JSON Lines format containing a device header and entries with fields like ts, source, command, ok, duration_ms, redacted args, and error, structured to support offline debugging and support scenarios.

How do I export Onchain OS command history for debugging?

To export Onchain OS command history for debugging, locate the audit log at ~/.onchainos/audit.jsonl or $ONCHAINOS_HOME/audit.jsonl and export the file to parse the JSON Lines entries for offline analysis.

What is the rotation policy for Onchain OS audit logs?

The Onchain OS audit log rotation policy defines how the audit.jsonl file is managed over time, ensuring developers can reliably export and analyze historical command entries without data loss during troubleshooting.

Does the Onchain OS audit log include command arguments and error details?

Onchain OS audit log entries include command arguments in a redacted format along with error fields, allowing developers to safely export logs and verify command execution outcomes for offline support analysis.

Why can't I display the contents of my Onchain OS audit log directly?

The Onchain OS audit log skill specifies file locations, JSON Lines format, and rotation policy but refuses to display file contents directly, requiring developers to manually export the audit.jsonl file for offline troubleshooting.