- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

How to Connect Splunk data using rest api
Hi All,
I need to connect the splunk data in power bi. we don't have the connectors to connect the splunk data in power bi. I need guidance to access the data in power and build stats.
referred links - https://github.com/SteveWinward/PowerBI/blob/master/WriteUps/splunk.md
In this link, they have mentioned some key steps to achieve my requirement, but i have tried. It's not working , while accessing the URL, getting this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Connecting Splunk data to Power BI using the REST API is possible but requires careful configuration and troubleshooting. Here's a general guide on how to do it:
Understand Your Splunk Data: Make sure you have a good understanding of your Splunk data. Know which data you want to extract and analyze in Power BI.
Configure Splunk: Ensure that your Splunk instance is set up properly and has REST API access enabled. You might need administrative access to configure this.
Create a Splunk API Token:
- In Splunk, navigate to "Settings" > "Access Controls" > "API Tokens."
- Create a new API token with the necessary permissions to access the data you need.
Build the REST API Query URL:
Use the Splunk REST API to query your data. The URL structure typically looks like this:
bash
https://your-splunk-instance:port/services/search/jobs/export
You'll need to include query parameters in the URL to specify your search query, time range, and any other relevant parameters.
Authentication:
- You might need to provide authentication credentials in your API request. This could be in the form of HTTP Basic Authentication, API Token, or OAuth, depending on how your Splunk instance is configured.
Power Query in Power BI:
- In Power BI, go to the "Home" tab, and click on "Get Data."
- Choose "Web" as your data source.
- Enter the REST API URL you constructed earlier.
- Configure authentication if required.
- Import the data into Power BI.
Data Transformation:
- You may need to transform the data in Power Query to make it suitable for your reports. This may involve renaming columns, filtering rows, or aggregating data.
Data Modeling and Visualization:
- Create the necessary data models and visualizations in Power BI to analyze and present your Splunk data.
Schedule Data Refresh:
- If you want your Power BI reports to stay up to date, schedule a data refresh based on your data source update frequency.
Troubleshooting:
- If you encounter errors while accessing the Splunk data, refer to the Splunk logs and Power BI error messages to diagnose the issue.
- Ensure that your Splunk API token and permissions are correctly configured.
- Verify that your query URL is constructed properly and the authentication credentials are correct.
- Check if there are any network or firewall issues that might be preventing the connection.
Documentation and Support:
- Consult the Splunk and Power BI documentation for any specific guidance related to your setup.
- Reach out to Splunk and Power BI support communities or forums for help if you encounter specific issues.
Please note that the exact steps and configuration details may vary depending on your specific Splunk and Power BI setups, so it's essential to refer to the official documentation and seek assistance from your organization's IT or data teams if needed.

Helpful resources
Subject | Author | Posted | |
---|---|---|---|
03-02-2023 09:06 PM | |||
08-16-2023 02:08 PM | |||
11-09-2021 02:40 AM | |||
07-29-2024 08:07 PM | |||
05-31-2024 01:02 AM |
User | Count |
---|---|
102 | |
84 | |
81 | |
53 | |
46 |