Forwarding Prisma Logs to Insight IDR

All,

New to the R7 discussion form. Looking to forward logs from Prisma via syslog to FQDN in CSP, that then routes to R7 Insight IDR. Based on R7 documentation, nxlog needs to be installed on server where logs are being sent to. In this case, I am using the R7 collector (hosted in CSP). Once there, the nxlog config needs to know where to send the logs to (insight IDR).

Has anyone done anything similar? If so, what steps did you follow to ensure the logs are ingested properly? Looking for any type of assistance as this is my first time performing actions. Thanks!

Hi @lpaulson ,

yes we suggest running Nxlog on the collector machine as that simplifies the path from Nxlog to the collector, you can use an om_tcp to forward the logs to the collector over localhost no TLS needed for local to local.

The Cortex Data Lake event source would be set up to listen on network port.

The traffic flows from Palo to the Nxlog listener and is the forwarded locally to the port chosen when configuring the event source. Using unique ports for the Nxlog listener and the event source listener so they don't conflict.

For the Nxlog setup here is an example config for Linux deployments. Note the tricky part here is ensuring the correct cert elements are referenced.

########################################

Global directives

########################################

User nxlog
Group nxlog


LogFile /var/log/nxlog/nxlog.log
LogLevel INFO

define CERTDIR /opt/nxlog/etc

<Extension _syslog>
    Module xm_syslog
</Extension>

<Input ssl_in>
    Module im_ssl
    ListenAddr 0.0.0.0:6514
    RequireCert FALSE
    AllowExpired TRUE
    AllowUntrusted TRUE
    CAFile %CERTDIR%/CA.cer
    CertFile %CERTDIR%/fullChain.cer
    CertKeyFile %CERTDIR%/private.key
    KeyPass <insertKeyPasshere>
    Exec parse_syslog();
</Input>

<Output r7collector>
    Module om_tcp
    Host <host_IP>
    Port <insert_PORT>
</Output>

 

<Route cortex_route>
    Path ssl_in => r7collector
</Route>

TLS Certificates:

Obtain a public certificate for communication from a trusted Certificate Authority (CA), such as Let’s Encrypt or DigiCert.

You'll need the following certificate files:

fullchain.cer (Public certificate chain)

cert.key (Private key)

ca.cer (CA root certificate, optional)

The cert must also be uploaded to the Palo side to ensure trust is established.

David

Thanks for the steps. Much appreciated. I will be looking at this week.