icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Cloudflare App for Splunk
SHA256 checksum (cloudflare-app-for-splunk_220.tgz) 61af05f783890022065034bae755cb0b430a7d2417be1ddce14ffc2ab3a23b97 SHA256 checksum (cloudflare-app-for-splunk_212.tgz) b80ab7b93fe757e4bea71227dd5971a7c59b8837525e715923ea77927b9af855 SHA256 checksum (cloudflare-app-for-splunk_211.tgz) 5d3be6bbed72a7440161d5eabd4824b955959d240ce599c94d80b01204d2526e SHA256 checksum (cloudflare-app-for-splunk_210.tgz) fbe46bf05bbf1d4b0d93dc69f3089e1e7404e240778e44f3e2e7d75b33dd5303 SHA256 checksum (cloudflare-app-for-splunk_200.tgz) 255e71816a9626905960ad1d64df4e2cd1ac1e517e394427a2225aef12f467e5 SHA256 checksum (cloudflare-app-for-splunk_106.tgz) 39acf69cce7739065db72a9551c491006a04b94605bde2a20fe0b1c14df5a113 SHA256 checksum (cloudflare-app-for-splunk_105.tgz) 7d437bf73b526c4712f00c44f72dbc156d835df58d52d2298a159d9130e7055c SHA256 checksum (cloudflare-app-for-splunk_104.tgz) d139e056cad5031423e461db5d07d969edc8f52c35425fd0841b18acc442d503 SHA256 checksum (cloudflare-app-for-splunk_103.tgz) 642e32923a9a9b70c831b32bd343eb4700e453ef5a46e31d08c84138d1c241b2 SHA256 checksum (cloudflare-app-for-splunk_102.tgz) 6ecf59e076d6c3a3060733af4a679060b3548d3ac123b8c98fc0f323bbc375d8 SHA256 checksum (cloudflare-app-for-splunk_101.tgz) b29c3de93d6ca0b8a1db9921ac8fcce8c983e3e10a44b9a416524d182eb8e2be SHA256 checksum (cloudflare-app-for-splunk_100.tgz) 65cd3b18c2e4e1cd19cb2d7a15497b86b41932efd68259a05d64688bc35c85e5
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Cloudflare App for Splunk

Splunk Cloud
Overview
Details
The Cloudflare App for Splunk makes analyzing Cloudflare logs easy and provides you with insights on the performance, reliability, and security of your websites and applications on the Cloudflare network. Use these insights to tune your Cloudflare configuration and provide the best experience for your end users.

## The application includes seventeen (17) dashboards powered by a custom Cloudflare Data Models.

##The application also includes five (5) dashboards for ZeroTrust logs based on index searches.

##This application also includes one (1) dashboard for Area1 logs based on index searches.

## By default, the application is shipped with Data Model Acceleration turned off but can be optionally turned on for improved speeds
when loading dashboards and panels.

## The application also includes Common Information Model (CIM) compliant search-time field extractions and field aliases. Furthermore, line breaking configurations are included in the application. The Cloudflare App for Splunk is compatible with all Splunk Enterprise 9.x - 7.x releases and supports single Search Head deployments as well as being deployed on Search Head Clusters.

## Dashboards are broken up into 5 categories: Snapshot, Performance, Reliability, Security, and Zero Trust.

Snapshot:
- Cloudflare – Snapshot (Web Traffic Overview)
- Cloudflare – Snapshot (Web Traffic Types)

Performance:
- Cloudflare – Performance (Hostname, Content Type, Request Method, Connection Type)
- Cloudflare – Performance (Requests and Cache)
- Cloudflare – Performance (Bandwidth)
- Cloudflare – Performance (Static vs. Dynamic Content)

Reliability:
- Cloudflare – Reliability (Summary)
- Cloudflare – Reliability (Detailed)

Security:
- Cloudflare – Security (Overview)
- Cloudflare – Security (Bots Summary)
- Cloudflare – Security (Bots Detailed)
- Cloudflare – Security (Rate Limit)
- Cloudflare – Security (WAF)
- Cloudflare – Security Events

ZeroTrust:
- Cloudflare - Zero Trust - Access
- Cloudflare - Zero Trust - CASB
- Cloudflare - Zero Trust - Gateway
- Cloudflare - Zero Trust - Device Posture
- Cloudflare - Zero Trust - Network Sessions
- Cloudlfare - Area1

Cloudflare App for Splunk

Support

For support and questions, please e-mail analytics@cloudflare.com

Application Requirements

  1. Splunk Enterprise version 9.x-7.x
  2. Cloudflare logs are expected to be in JSON format with a sourcetype of cloudflare:json
  3. Cloudflare ZeroTrust logs are expected to be in JSON format with sourcetype as shown in the table below.
Log type Sourcetype
Zero Trust Access requests logs cloudflare:access
Zero Trust Audit logs cloudflare:audit
Zero Trust CASB Findings logs cloudflare:casb
Zero Trust Gateway DNS logs cloudflare:dns
Zero Trust Gateway HTTP logs cloudflare:http
Zero Trust Gateway Network logs cloudflare:network
ZeroTrust Device Posture logs cloudflare:deviceposture
ZeroTrust Network Session logs cloudflare:networksessions
ZeroTrust Area1 logs mailstream

Cloudflare Logs Onboarding Notes

  • For documentation on the available methods for collecting Cloudflare logs please refer to the Cloudflare Logs developer documentation here.

  • For ease of onboarding and integration, it is recommended to use Cloudflare’s Logpush Service to push logs to Amazon S3, which can then be pulled into Splunk using the Splunk Add-on for AWS. Instructions on how to install the Splunk Add-on for AWS and configure inputs can be found here – this link also contains details on where to install the Splunk Add-on for AWS as it is dependent on the type of deployment you have.

  • Please note that if you are performing the data onboarding from a separate instance of Splunk and not where the Cloudflare App for Splunk is located, it is strongly advised to copy the proper section of the props.conf packaged with the Cloudflare App for Splunk to the instance which is collecting the Cloudflare JSON data.

  • By default within the application JSON key-value extraction is turned on at search time by setting KV_MODE in the props.conf packaged with the application to JSON. If you happen to set up INDEXED_EXTRACTIONS for the cloudflare:json, cloudflare:access, cloudflare:audit, cloudflare:casb, cloudflare:dns, cloudflare:http and cloudflare:network sourcetypes at the point of which you are onboarding data then you will need to set KV_MODE=none in the props.conf packaged with the application to ensure field values are not extracted twice and thus impacting the dashboards.

Application Installation Instructions

The Cloudflare App for Splunk is easy to install and configure. Please follow the steps below to install and configure the application within your Splunk environment.

  1. Ensure the Application Requirements documented above are met.

  2. Download the application from Splunkbase.

  3. Install the application on your Search Head or Search Head Cluster using standard application deployment methods. Information on installing applications on Splunk can be found in the Splunk documentation here https://docs.splunk.com/Documentation/Splunk/latest/Admin/Deployappsandadd-ons.

  4. Once installed the application needs to be configured. A Set Up page is bundled with the application. To configure the application following these steps:

    • Access the application on your Search Head by clicking on the “Cloudflare App for Splunk” from your Splunk launcher home page or from the Apps dropdown menu. You will be prompted with the application Set Up screen.

    • Go to the Settings dropdown > Advance search > Search macros within the Cloudflare App for Splunk.

    • Click on the macro named cloudflare_index and change the value to Index name where the Cloudflare JSON logs are stored. This value must be entered in the format index=index_name. By default the value is set to index=cloudflare.

    • For Cloudflare security events, Click on the macro named cloudflare_L7_security_events_index and change the value to Index name where the Cloudflare Security Events are stored. This value must be entered in the format index=index_name. By default the value is set to index=cloudflare.

    • For Cloudflare Zero Trust events, Click on the macro named cloudflare_zt_index and change the value to the Index Name where the Cloudflare ZeroTrust events are stored. This value must be entered in the format index=index_name. By default the value is set to index=cloudflare.

    • Choose whether to enable Data Model Acceleration. By default, acceleration is disabled.

  5. The application is now installed and can be found on your Splunk launcher home page or through the Apps dropdown menu to the top left.

Post-Installation Notes:

  • The Index Name can be changed after initial configuration by clicking on Settings dropdown > Advance search > Search macros within the Cloudflare App for Splunk. In order to change the definition to point to the custom index in this format. index=\<custom index name>'

Notes:- If anyone is not using default index (which is Cloudflare) value in Splunk Add-on for AWS then you must follow the above step to change the index in macros definition as well.

  • The Cloudflare App for Splunk comes with a custom Cloudflare and Cloudflare L7 Security Events Data Model which has an acceleration time frame of 1 Day but is not accelerated by default. If you enable Data Model acceleration it is recommended that the Data Model is only accelerated for 1 or 7 days to ensure there are no adverse effects within your Splunk environment. You can enable or disable acceleration after initial configuration by going to Settings > Data models > cloudflare/cloudflare_L7_security_events,, we have an option to edit the data model where we can edit acceleration, permission and title & description of the data model. More information on data model acceleration can be found here in advance search.

Release Notes

Version 2.2.0
May 9, 2024

Updated the security dashboards with new fields according to the deprecation notice. For reference: https://developers.cloudflare.com/logs/reference/change-notices/2023-02-01-security-fields-updates/#http-requests-dataset-changes

Version 2.1.2
Feb. 6, 2024

Updated sourcetype="cloudflare:area1" to sourcetype="mailstream" for Cloudflare - Area1 eventtype

Version 2.1.1
Nov. 28, 2023

Following bugs are fixed:
1. TRUNCATE value changed to 0 for all source types.
2. cloudflare_ prefixed with all eventtypes.
3. Time stamp extraction for Network Session logs updated with SessionStartTime.
4. Knowledge objects exported globally.
5. Bot related dashboards(Bots Summary and Bots Detailed) are fixed to use BotScore field.

Version 2.1.0
Nov. 7, 2023
  1. Migrated Area1 to Zero Trust
  2. Added two (2) dashboards to Zero Trust.
Version 2.0.0
June 1, 2023

Added Support for Cloudflare ZeroTrust.

Version 1.0.6
Dec. 21, 2022

Added FirewallMatchesRuleIDs in the cloudflare datamodel. FirewallMatchesRuleIDs field added in the Cloudflare - Security (WAF) dashboard.

Version 1.0.5
July 25, 2022
  • Added Cloudflare L7 Security Events datamodel
  • Added Cloudflare Security Events dashboard
Version 1.0.4
March 25, 2022

update to use jQuery 3.5

Version 1.0.3
Oct. 8, 2020
  • Updated regex
  • Updated typos
Version 1.0.2
May 29, 2020
  • Updated Regex to prevent log duplication
  • Dashboard Enhancements
Version 1.0.1
May 22, 2019
  • Several updates on reports to improve dashboard performance
  • Updated Cloudflare icons for correct sizing on web/mobile
Version 1.0.0
May 10, 2019

Version 1.0.0 (May 10, 2019)

This is the initial release of the Cloudflare App for Splunk. Dashboards included within this release are broken up into
4 categories: Snapshot, Performance, Reliability and Security.

Snapshot:
- Cloudflare – Snapshot (Web Traffic Overview)
- Cloudflare – Snapshot (Web Traffic Types)

Performance:
- Cloudflare – Performance (Hostname, Content Type, Request Method, Connection Type)
- Cloudflare – Performance (Requests and Cache)
- Cloudflare – Performance (Bandwidth)
- Cloudflare – Performance (Static vs. Dynamic Content)

Reliability:
- Cloudflare – Reliability (Summary)
- Cloudflare – Reliability (Detailed)

Security:
- Cloudflare – Security (Overview)
- Cloudflare – Security (Bots Summary)
- Cloudflare – Security (Bots Detailed)
- Cloudflare – Security (Rate Limit)
- Cloudflare – Security (WAF)


Subscribe Share

Are you a developer?

As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk LLC in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.