How-To: Export EZSSH Logs to Kafka

Learn how to export EZSSH audit logs to an Apache Kafka topic, so your security team can monitor every SSH and GitHub certificate request in the tools they already use.

Prerequisites for Exporting EZSSH Logs to Kafka

  1. You have registered the Keytos application in your Entra ID tenant.
  2. You have selected an EZSSH plan.

How To Export Your EZSSH Audit Logs To Kafka

To export your EZSSH logs to Kafka, you enable audit log export in your EZSSH subscription, get your Kafka connection details, and then add them to EZSSH. The following steps walk you through each part.

How To Enable Log Export in EZSSH Portal

  1. Go to the EZSSH portal.

  2. From the left-hand menu, click Settings.

    EZSSH Agentless JIT Access portal dashboard with Settings item highlighted in the left navigation sidebar
  3. Expand your subscription’s Advanced Settings.

    EZSSH Agentless JIT Access subscription settings page showing Advanced Settings section with expand arrow highlighted
  4. Under SIEM Settings, select Send Audit Logs to SIEM.

    EZSSH Agentless JIT Access Advanced Settings panel with Send Audit Logs to SIEM checkbox highlighted

How To Configure the Kafka Exporter in the Kafka Portal

  1. Open your Kafka instance in another window.

  2. Identify your Kafka topic name and note it down.

  3. Verify authentication support:
    Ensure your Kafka server supports Plaintext SASL Authentication.

  4. Gather credentials:
    Note the SASL username and password required for authentication.

How To Configure the Kafka SIEM in EZSSH Portal

  1. Go back to the EZSSH portal.

  2. Under SIEM Provider, select Kafka.

    EZSSH Agentless JIT Access SIEM Settings with Send Audit Logs to SIEM selected and Kafka highlighted in the SIEM Provider dropdown
  3. Enter the Kafka Broker URL, Kafka Topic, SASL Username, and SASL Password that you copied from the Kafka portal.

  4. Click Test Connection. This creates a test log in your Kafka topic. Please allow a few minutes for the log to show up.

    EZSSH Agentless JIT Access SIEM Settings showing the Kafka Broker URL, Kafka Topic, SASL Username, and SASL Password fields with Test Connection highlighted

Once you are done, save your settings:

  1. Click Save Changes at the top of the Subscription Settings section. Your changes are not applied until you save them.

    EZSSH Agentless JIT Access Settings page showing the Subscription Settings header with the Save Changes button highlighted

Done! EZSSH now sends your audit logs to Kafka. If an error occurs, EZSSH emails your Subscription Administrators.