--- title: "PingFederate" slug: "ping-federate" updated: 2026-04-15T15:46:38Z published: 2026-04-15T15:46:38Z canonical: "docs.databee.buzz/ping-federate" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.databee.buzz/llms.txt > Use this file to discover all available pages before exploring further. # PingFederate PingFederate is an enterprise-grade identity federation server developed by Ping Identity. It enables secure authentication and authorization across applications, APIs, and organizations using standards like SAML, OAuth, and OpenID Connect. It is widely used for implementing Single Sign-On (SSO), federated identity, and security in large-scale environments. For more detailed information refer to [PingFederate’s official page](https://www.pingidentity.com/en/product/pingfederate.html). **Integration Method**: Data Collector (Flat file) **Tables**: Authentication (3002), Detection Finding (2004) This integration supports the following events. | **Event** | **Description** | | --- | --- | | Authentication logs | List of MFA authentications, auth attempts and auth failures. | | Security Alerts | List of security alerts logged in the server. | This integration supports the following versions. | PingFederate | PingFederate >= 13.0 | | --- | --- | ## Prerequisites - The user should have administrator access to the device where the PingFederate 13.0 or higher is installed. - The user should have a [compatible version](https://docs.databee.buzz/docs/data-collector#system-requirements) of the system in which we can configure the data collector. - The user should have access to the DataBee console. ## Configuration Overview 1. [Update the Log4j.xml file](/user-manual/docs/ping-federatedoc-standard#update-the-log4j-file-to-support-json-logs) of PingFederate to support JSON logs. 2. [Data Collector Configuration and Installation](/user-manual/docs/ping-federatedoc-standard#data-collector-configuration-and-installation). 3. Create [PingFederate Data Feed](/user-manual/docs/ping-federatedoc-standard#databee-configuration) in the DataBee console. ## Update the Log4j file to support JSON logs PingFederate generates two types of logs that need to be configured for JSON output: Audit Logs - Contains authentication events, SSO activities, and security audits Server Logs - Contains application errors, exceptions, and system events ### Step 1: Backup the Existing Configuration PingFederate uses log4j as logging service. Before making any changes, create a backup of the **Log4j** configuration file. Make sure backup is taken. Location: /pingfederate/server/default/conf/log4j2.xml Replace the **pf_install** with the actual ping federate install location. Ex: C:\Program Files\Ping Identity\pingfederate-13.0.1\pingfederate\server\default\conf\log4j2.xml ### Step 2: Enable JSON Audit Logging #### 2.1 Configure the JSON Audit Appender - Open the **log4j2.xml** file in a text editor - Locate the **** tag with the name attribute **SecurityAudit2File-JSON** - Ensure it is configured as follows: ```plaintext                         ``` - Key Configuration Details: - fileName - Path to the JSON audit log file - filePattern - Daily rotation pattern for log files - JsonTemplateLayout - Enables JSON output format #### 2.2 Enable Audit Logger References Locate the following logger configurations and add/uncomment the JSON appender reference: - Logger 1: Service Provider (SP) Audit Logger ```plaintext           ``` - Logger 2: Identity Provider (IdP) Audit Logger ```plaintext           ``` - Logger 3: Authorization Server (AS) Audit Logger ```plaintext           ``` - What This Enables: - Multi-Factor Authentication (MFA) events - Authentication attempts (success and failure) - Single Sign-On (SSO) activities - Security-relevant authentication events ### Step 3: Enable JSON Server Logging - Configure the JSON Server Appender. Locate or verify the appender with name FILE-JSON: ```plaintext                                true ``` - Key Configuration Details: - fileName - Path to the JSON server log file - SizeBasedTriggeringPolicy - Rotates log when it reaches 10MB - DefaultRolloverStrategy - Keeps maximum 5 rolled log files - Enable AsyncRoot Logger Reference. Locate the logger configuration and add/uncomment the JSON appender reference: ```plaintext           ``` - What This Enables: - Application errors and exceptions - Configuration changes - System warnings and critical events - Connection pool and session management issues ### Step 4: Save and Restart PingFederate - Save the changes to log4j2.xml - Restart PingFederate service: *# Stop PingFederate* ```plaintext /pingfederate/bin/pf-shutdown.sh ``` *# Start PingFederate* ```plaintext /pingfederate/bin/pf-startup.sh ``` > [!NOTE] > **Note:** > > On Windows, use .bat instead of .sh - Wait for startup to complete (typically 30-60 seconds) - After startup verify the log files available at the **/pingfederate/log**/ location. Look for files with the below name formats, - audit-json.log - audit-json.{yyyy-mm-dd}.log - server-json.log - server-json.log.{number} ## Data Collector Configuration and Installation To receive events from PingFederate, a Data Collector must be installed and configured in the device where the PingFederate is installed. The data collector is used to fetch logs from files on on-prem environment and send data to DataBee securely. Follow the steps provided in DataBee's official [documentation](https://docs.databee.buzz/docs/data-collector#configure-data-collector-in-databee) to complete the configuration. Additionally, refer to [this](https://docs.databee.buzz/docs/data-collector#installing-the-data-collector) guide for detailed instructions on installing the Data Collector on your machine. ## DataBee Configuration 1. Login to the DataBee UI, navigate to **Data** > **Data Feeds** and click the **Add New Data Feed** button. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ping-federatedoc-standard-image-9cdkla9i.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A01%3A09Z&se=2026-10-30T13%3A01%3A09Z&sr=c&sp=r&sig=uciffHhegQJCrmUGf5rIsA5UYjpVfUJQcR17NElbaas%3D) 2. Search for **Ping Federate** and click on it as shown below. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ping-federatedoc-standard-image-uig6vvoq.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A01%3A09Z&se=2026-10-30T13%3A01%3A09Z&sr=c&sp=r&sig=uciffHhegQJCrmUGf5rIsA5UYjpVfUJQcR17NElbaas%3D) 3. Click on the **Data Collector** option for collection method. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ping-federatedoc-standard-image-vmcul82h.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A01%3A09Z&se=2026-10-30T13%3A01%3A09Z&sr=c&sp=r&sig=uciffHhegQJCrmUGf5rIsA5UYjpVfUJQcR17NElbaas%3D) 4. Click on the **Flat File** option as the polling mechanism. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ping-federatedoc-standard-image-jf1jwak2.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A01%3A09Z&se=2026-10-30T13%3A01%3A09Z&sr=c&sp=r&sig=uciffHhegQJCrmUGf5rIsA5UYjpVfUJQcR17NElbaas%3D) 5. Enter the feed contact information, select the collector that you have created from the drop down, and then scroll down. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ping-federatedoc-standard-image-qynwhovz.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A01%3A09Z&se=2026-10-30T13%3A01%3A09Z&sr=c&sp=r&sig=uciffHhegQJCrmUGf5rIsA5UYjpVfUJQcR17NElbaas%3D) 6. In the configuration page, confirm the following, then scroll down. ![](https://cdn.document360.io/04e48772-4346-44a4-aa69-043eca42257c/Images/Documentation/ping-federatedoc-standard-image-a3z7d6fd.png?sv=2026-02-06&spr=https&st=2026-10-30T12%3A01%3A09Z&se=2026-10-30T13%3A01%3A09Z&sr=c&sp=r&sig=uciffHhegQJCrmUGf5rIsA5UYjpVfUJQcR17NElbaas%3D) - **Format**: json - **Refresh Interval (minutes)**: Set as per your requirement - **Source Files**: Add below patterns for audit and server log files, 1. \pinfederate\log\audit-json.* 2. \pinfederate\log\server-json.* 7. click on **Submit**. ## Troubleshooting Tips - Issue: JSON Log Files Not Created - Possible Causes: - PingFederate not restarted after configuration changes - Syntax errors in log4j2.xml - Solution: Make sure log4j2.xml is correctly updated, if needed compare it with backup file. Make sure to restart PingFederate after changes. - If you encounter any issues regarding log forwarding, refer to the [DataBee troubleshooting document](https://docs.databee.buzz/docs/troubleshooting) for detailed guidance.