--- title: "Integrating with Security Information and Event Management (SIEM) using CLI" slug: "integrating-with-security-information-and-event-management-siem-using-cli-2" tags: ["Install and Get Started", "NDR 4.x", "Customer", "Network Security"] updated: 2026-11-17T09:22:59Z published: 2026-11-17T09:22:59Z canonical: "docs.trellix.com/integrating-with-security-information-and-event-management-siem-using-cli-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Integrating with Security Information and Event Management (SIEM) using CLI Integrating Network Detection and Response NDR with SIEM provides real-time visibility of all activities on your systems, networks, databases, and applications. 1. Log into the NDR CLI using a terminal window or SSH client: 1. Using the NDR SSH protocol, log into the appliance with management interface's IP address or hostname. ```plaintext $ ssh npadmin@ ``` 2. Enter the password when prompted. The `hostname > prompt` is displayed after you have logged in. 2. Enter privileged mode on the NDR CLI. ```plaintext npadmin@hostname> enable ``` 3. Enter the `npadmin` password, when prompted. The password can be 5 to 24 characters long. ```plaintext [sudo] password for npadmin: ``` 4. Enter configuration mode. ```plaintext npadmin@hostname# configure system ``` The prompt changes to `npadmin@hostname(config)#` on the terminal indicating that configuration mode is enabled. 5. Type `SIEM` at the terminal and press `Enter`. 6. In the **SIEM Configuration** page, type `1` and then press `Enter` to configure consumers. 7. Type `1` and press `Enter` to configure Splunk. The **Configure Splunk** options are displayed. ![Configure_splunk.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-d7e0fbd4-b351-e65f-25eb-7f52c885fc77(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A50%3A33Z&se=2026-11-19T13%3A50%3A33Z&sr=c&sp=r&sig=8no6APwCeCa9mntVAD4u%2F4eEWXoeyAR%2F0Y4tHO283Og%3D) 1. Type `A` and press `Enter` to add a Spunk server. ![Configure_splunk_add_server.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-37fbfd0c-31c6-bdca-302c-197dec9bdcad(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A50%3A33Z&se=2026-11-19T13%3A50%3A33Z&sr=c&sp=r&sig=8no6APwCeCa9mntVAD4u%2F4eEWXoeyAR%2F0Y4tHO283Og%3D) 2. Type `1` and press `Enter`. Provide a name for the server. ![SIEM_integration_Add_server.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-416d7d60-59df-6f31-0f94-080c9a682d1c(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A50%3A33Z&se=2026-11-19T13%3A50%3A33Z&sr=c&sp=r&sig=8no6APwCeCa9mntVAD4u%2F4eEWXoeyAR%2F0Y4tHO283Og%3D) 3. Type `2` and press `Enter` to specify IP address (IP address of Splunk server). 4. Type `3` and press `Enter`. Specify the port on which Splunk is listening for HTTP Event Collector (HEC) logs. 5. Type `4` and press `Enter`. Specify Hec token. This is the HTTP Event Collector token in Splunk, which you will need to generate within the Splunk interface. The token is used to authenticate the Network Detection and Response system when sending logs. 6. Type `5` and press `Enter` to export from NDRC to Splunk. 7. Type `6` and press `Enter` to enable the export of events or alerts over https to Splunk. 8. Type `7` and press `Enter` to configure alerts. 9. Type `8` and press `Enter` to configure L7 metadata. 10. Type `X` and press `Enter` to save the settings and return to the previous page. 11. Type `C` and press `Enter` if you want to cancel the settings and return to the previous page. 12. From the Configure Splunk menu, type the required number beside the configured Splunk server and press `Enter` to edit the server details. > [!NOTE] > Note > > The connection status of the Splunk server (whether the server is up or down) can be verified using the Check Health Status feature option available in the Edit Server page. ![SIEM_integration.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-cca3d882-1974-67c8-e307-8f20d04d0e04(4).png?sv=2026-02-06&spr=https&st=2026-11-19T12%3A50%3A33Z&se=2026-11-19T13%3A50%3A33Z&sr=c&sp=r&sig=8no6APwCeCa9mntVAD4u%2F4eEWXoeyAR%2F0Y4tHO283Og%3D) 13. Type `X` and press `Enter` to save the settings and return to the **Configure Spunk** page. 14. Type `X` and press `Enter` to save the settings and return to the **Configure SIEMs to export metadata and alert** page. > [!NOTE] > Note > > Alerts generated or stored in the NDR Console are forwarded to Splunk only when the following conditions are satisfied: > > - Alert forwarding is enabled in the Splunk configuration. > - The alert severity meets or exceeds the [configured severity threshold](/network-and-platform/docs/integrating-with-security-information-and-event-management-siem-using-cli-2#alert-severity-threshold-behavior). Only alerts whose severity is equal to or higher than the configured threshold are forwarded. 8. To configure other parameters, type `2` and press `Enter`. 1. Type `1` and press `Enter` to specify the batch size. 2. Type `2` and press `Enter` to specify the export interval. This is the time elapsed since the previous export surpasses the defined export interval. > [!WARNING] > Important > > NDR allows you to set both a batch size and an export interval. Data is exported to Splunk if either of the following conditions are met: > > - The amount of specific data received by NDR that needs to be exported exceeds the configured batch size. > - The time elapsed since the previous export is greater than the defined export interval. 3. Type `X` and press `Enter` to save the settings and exit. 4. Type `C` and press `Enter` to cancel the settings and return to the previous page. 9. Type `X` and press `Enter` to exit the configure SIEM page. > [!NOTE] > Note > > - If HTTPS is enabled, you must upload certificates (generated on Splunk server) in NDR using following APIs: > > - `curl -k -u npadmin:Fireeye@123 https://NDRC_IP/config/v1/siem/Splunk/cert/<configuration name> -XPOST -F "cert=@ca.pem` > - `curl -k -u npadmin:Fireeye@123 https://NDRC_IP/config/v1/siem/Splunk/cert/<configuration name> -XPOST F "cert=@client cert.pem` > > where **** is the name of an integration or confguration that is given in step 7b. ### Alert severity threshold behavior | Configured Severity | Alerts forwarded | | --- | --- | | Low | Low, Medium, High, Critical | | Medium | Medium, High, Critical | | High | High, Critical | | Critical | Critical only |