Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.
/ docs Public archive

Add Nano integration docs - #422

Open
mavam wants to merge 3 commits into
mainfrom
topic/nano-integration-page
Open

Add Nano integration docs#422
mavam wants to merge 3 commits into
mainfrom
topic/nano-integration-page

Conversation

@mavam

@mavam mavam commented Jun 30, 2026

Copy link
Copy Markdown
Member

🔍 Problem

Tenzir has a partnership with the Nano SIEM, and a working
Tenzir → Nano ingest path already ships in nano's OSS repo, but
docs.tenzir.com has no integration page for it.

🛠️ Solution

  • New integrations/nano.mdx: forward OCSF events to Nano by wrapping each
    event in the {event, source_type} wire shape and writing it with
    to_clickhouse into nanosiem.ocsf_logs_native_raw; read events back from
    nanosiem.ocsf_logs with from_clickhouse. Cross-links nano's direct-OCSF
    ingestion guide.
  • Add Nano under Security Tools in the sidebar.
  • Add reciprocal <Integration>nano</Integration> See Also links to the
    to_clickhouse and from_clickhouse operator references.
  • Scope the semantic list icons to See Also sections (CSS).

💬 Review

  • The sink deliberately targets the ocsf_logs_native_raw entrypoint: on
    append, to_clickhouse validates the whole target schema and rejects
    ocsf_logs_raw's LowCardinality(String) and timezone-qualified
    DateTime64 columns. The caution aside explains this failure mode.
  • Examples use tls=false for a node colocated with nano; remote clusters use
    TLS on port 9440.

🤖 Generated with Claude Code

mavam and others added 2 commits June 30, 2026 08:47
Only use semantic cross-reference icons as list markers for lists immediately following a See Also heading. This keeps ordinary prose bullets as bullets when they contain inline operator or function links.

Assisted-by: GPT-5 (Codex)
Document how to forward OCSF events from Tenzir to the Nano SIEM:

- New integrations/nano.mdx covering the {event, source_type} wire shape, the
  to_clickhouse sink into nanosiem.ocsf_logs_native_raw, and reading events back
  from nanosiem.ocsf_logs.
- Add Nano to the Security Tools sidebar section.
- Add reciprocal <Integration>nano</Integration> See Also links to the
  to_clickhouse and from_clickhouse operator references.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@github-actions github-actions Bot added reference Reference documentation integration Integration documentation site Site infrastructure labels Jun 30, 2026
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

📦 Preview  ·  View →  ·  🟢 Live

Verified for ac9f557  ·  Auto-updates on push

Comment on lines +69 to +81
Write to `nanosiem.ocsf_logs_native_raw`, not `nanosiem.ocsf_logs_raw`. This is a
limitation in <Op>to_clickhouse</Op>, not in ClickHouse or your data: on
`append`, the operator reads the target table's schema and validates every
column type before it writes any rows, and its type mapping does not recognize
two types that `ocsf_logs_raw` uses. It expects a plain `String` but finds
`LowCardinality(String)`, and a bare `DateTime64` but finds a timezone-qualified
one (`DateTime64(3, 'UTC')`). Either mismatch raises `unsupported ClickHouse
type`, so the pipeline fails immediately and never inserts a row, even though it
would only write the `event` and `source_type` columns.

The native entrypoint avoids this by exposing only `event` (JSON) and a plain
`source_type` (String). A materialized view forwards from there into
`ocsf_logs_raw` and on into `nanosiem.ocsf_logs`.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@IyeOnline this needs your input. How should we go about this?

guide](https://nano.rs/docs/ocsf/integrations/direct-ocsf).
:::

{/*DIAGRAM: insert the nano.excalidraw image reference here once the asset is provided.*/}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to self: add this.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a96535b756

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/content/docs/integrations/nano.mdx
Assisted-by: GPT-5 (Codex)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

integration Integration documentation reference Reference documentation site Site infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant