Configure a MongoDB target for an open data stream

You can export data on an ExtraHop system to any system that receives MongoDB input for long-term archiving and comparison with other sources.

  1. Log in to the Administration settings on the ExtraHop system through https://<extrahop-hostname-or-IP-address>/admin
    Repeat these steps on each Discover appliance in your environment.
  2. In the System Configuration section, click Open Data Streams.
  3. Click Add Target.
  4. From the Target Type drop-down menu, select MongoDB.
  5. In the Name field, type a name to identify the target.
  6. In the Host field, type the hostname or IP address of the remote MongoDB server.
  7. In the Port field, type the port number of the remote MongoDB server.
  8. Select SSL/TLS Encryption to encrypt transmitted data.
  9. Select Skip certificate verification to bypass certificate verification of encrypted data.
    Note:Secure connections to the MongoDB target server can be verified through trusted certificates that you upload to the ExtraHop system.
  10. (Optional): Add users that have permission to write to a MongoDB database on the target server.
    1. In the Database field, type the name of the MongoDB database.
    2. In the Username field, type the username of the user.
    3. In the Password field, type the password of the user.
    4. Click the plus (+) icon.
  11. (Optional): Click Test to establish a connection between the ExtraHop system and the remote MongoDB server and send a test message to the server.
    The dialog box displays a message that indicates whether the connection succeeded or failed. If the test fails, edit the target configuration and test the connection again.
  12. Click Save.

Next steps

Create a trigger that specifies what MongoDB message data to send and initiates the transmission of data to the target. For more information, see the Remote.MongoDB class in the ExtraHop Trigger API Reference.
Last modified 2023-11-07