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) d75760b4d039a82f40ec4425ee2ce474780d42de74a78bba9cc47bd476f56448 SHA256 checksum (cloudflare-app-for-splunk_212.tgz) 0b3f8c1c5f38628e2827cef47ccfb0af09d2a44d22496fa0fc049f802020eec2 SHA256 checksum (cloudflare-app-for-splunk_211.tgz) ba013233dd220cff461fcbb1b98ed0252f5991f1ca915878ebc06320ae6ce510 SHA256 checksum (cloudflare-app-for-splunk_210.tgz) cd0f6018759315a2d15237eca692e1f8340990f5dc03e788d8db6241f01fbeb0 SHA256 checksum (cloudflare-app-for-splunk_200.tgz) e8b5e9f91d9394156290c06aa3bada331e84e633dae42f289cb4215583a7f635 SHA256 checksum (cloudflare-app-for-splunk_106.tgz) 14abc2dce8547c09661ab8d69c51e49d9fd0caa73cbc18543485ccacc2887e59 SHA256 checksum (cloudflare-app-for-splunk_105.tgz) 185144dce9775fe9187ce750edd0e733115357fdede8e21b8dd36eef83f8b778 SHA256 checksum (cloudflare-app-for-splunk_104.tgz) 95cdd0d9652ccd6199c0e251b07b5b4961b33686ee696bba54b3cef41829aa6f SHA256 checksum (cloudflare-app-for-splunk_103.tgz) f7a5a331ecac9171c9458c47967514b37d41e80c25e9fccf353d044331afd48d SHA256 checksum (cloudflare-app-for-splunk_102.tgz) 88c4911ba055961330cb8ba9795717e2702aa0584d2e055dd4f53eada16a5b82 SHA256 checksum (cloudflare-app-for-splunk_101.tgz) 1693f0bbfa40db27d453acddf5c073c77b8557700a5a9960e3e7189af6ba12ad SHA256 checksum (cloudflare-app-for-splunk_100.tgz) eee31a3191cc87ace4e3facc826bafcc47c42554673c268e7859e3c087593824
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.