Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configure Cloudflare to send Events to JSA when you use the HTTP Receiver Protocol

date_range 02-May-22

To send Cloudflare Firewall or Cloudflare HTTP events to JSA when you use the HTTP Receiver protocol, you need to start the Logpush job that you created.

  1. To send Cloudflare Firewall events to JSA, start the Logpush job that you created by typing the following command:
    content_copy zoom_out_map
    curl -s https://api.cloudflare.com/client/v4/zones/<zone_id>/logpush/jobs
    -X POST -d '{ "name": "<name>", "logpull_options":
    "fields=Action,ClientIP,Datetime&timestamps=rfc3339", "destination_conf":
    "<QRadar_URL:LogSource_Port>", "max_upload_bytes": 5000000, "max_upload_records": 1000,
    "dataset": "firewall_events", "enabled": true}' -H "X-Auth-Email: < X-Auth-Email>" -H "XAuth-
    Key: < X-Auth- Key>"
  2. To send Cloudflare HTTP events to JSA, start the Logpush job that you created by typing the following command:
    content_copy zoom_out_map
    curl -s https://api.cloudflare.com/client/v4/zones/<zone_id>/logpush/jobs -X POST -d
    '{ "name": "<name>", "logpull_options":
    "fields=ClientRequestMethod,EdgeResponseStatus,ClientIP,ClientSrcPort,EdgeStartTimestamp&time
    stamps=rfc3339", "destination_conf": "<QRadar_URL:LogSource_Port>", "max_upload_bytes":
    5000000, "max_upload_records": 1000, "dataset": " http_requests", "enabled": true}' -H "XAuth-
    Email: < X-Auth-Email>" -H "X-Auth-Key: < X-Auth- Key>"
    Note:

    For the LogSource Port, you must choose one of the following open ports from Cloudflare:

    • 443
    • 8088
    • 2433

    When the command is executed, the events are forwarded to JSA.

footer-navigation