Rapid digital transformation partnered with increased cloud adoption have resulted in organizations generating unprecedentedly large volumes of data. This data is stored in disparate data repositories due to organizational boundaries, data protection, and privacy laws (e.g. GDPR). Additionally, it is stored across environment types with some kept in the cloud and often historical data and other sensitive data types are kept in on-premise environments contributing to more data silos. So, how can organizations leverage data residing in these disparate data sources and glean insights from it? We’re excited to share that the Splunk Federated Search is now generally available starting in Splunk Cloud Platform 8.1.2103 and Splunk Enterprise 8.2.
Federated search provides the capability to execute a unified search across multiple Splunk environments (including Splunk Cloud and On-premise) providing a true federated search experience.
This includes the ability to:
Federated search supports the following different configurations:
Splunk cloud to cloud |
Available with Splunk Cloud Platform 8.1.2103 and above |
Splunk on-premise to cloud |
Available with Splunk Enterprise 8.2 and Splunk Cloud Platform 8.2.2104 |
Splunk on-premise to on-premise |
Available with Splunk Enterprise 8.2 |
More importantly, with Splunk Enterprise 8.2, you can now search between your on-premise environment (SH) and Splunk cloud environment leveraging federated search. Federated search is a new capability that is distinct from hybrid search. Federated search addresses the limitations of hybrid search, allows you to run scheduled searches, enables you to search from on-premise search head (SH) to multiple Splunk cloud environments and better management of security permissions across environments with RBAC.
One of the frequently asked questions, how is this different from the legacy Data Fabric Search (DFS)? While the use cases are identical, federated search uses a different technology designed for Cloud experiences and seamless integration and doesn’t require the additional Spark infrastructure. Additionally, DFS is no longer available for purchase as of May 2020 and there is no support after October 2021.
Before we go into details, let’s quickly define the key terms:
The below 4 steps can configured via a self-service UI:
The Splunk environments must be running a compatible Splunk version (see above supported configuration table) that supports federated search.
Login to the Splunk SH (RSH) of remote deployment and create a service account through the UI.
This service account will be leveraged for communication between the FSH and RSH.
Access permissions to data can be managed at service account level.
Login to the Splunk SH (FSH) and then create a connection through the UI.
This information on FSH helps make the connection to the remote Splunk environment.
Login to the Splunk SH (FSH) and create a federated index on, that maps to a index or a saved search on the remote Splunk deployment.
To search federated indexes from the FSH, the search SPL must incorporate an explicit keyword federated: to run searches on the remote deployment as shown in below example.
Let’s take a quick look at a simple example scenario of searching between an On-premise Splunk environment and a Splunk Cloud environment. Let’s say the On-premise index name is indexlogs and Splunk Cloud index name is indexcloudlogs, now you want to combine results from these two environments to find the average of the values in the size field for each distinct value in the host field and you are searching from On-premise SH, all you need to do is as below
| union [search index=federated:indexcloudlogs] [search index=indexlogs] | stats avg(size) BY host
That’s it folks, it’s as simple as the above four quick steps to federate your searches. Please try it out today and leave any feedback or suggestions on "Search Federation" on Splunk Ideas.
For an overview, listen to the Federated Search Tech Talk and for more detailed information, please refer to the Splunk Federated Search documentation.
The Splunk platform removes the barriers between data and action, empowering observability, IT and security teams to ensure their organizations are secure, resilient and innovative.
Founded in 2003, Splunk is a global company — with over 7,500 employees, Splunkers have received over 1,020 patents to date and availability in 21 regions around the world — and offers an open, extensible data platform that supports shared data across any environment so that all teams in an organization can get end-to-end visibility, with context, for every interaction and business process. Build a strong data foundation with Splunk.