Use the driver with Microsoft Excel
You can access Splunk Enterprise data from Microsoft Excel 2010 and 2013 (32-bit or 64-bit) using the Splunk ODBC Driver version 1.0 and later.
To use the Splunk ODBC Driver to get Splunk data into Microsoft Excel:
- Open a new worksheet in Excel.
- Click the Data tab.
- In the Get External Data group, click From Other Sources, and click From Microsoft Query.
- In the Choose Data Source window, click Splunk ODBC.
- Select the Use the Query Wizard to create/edit queries checkbox.
- Click OK.
Microsoft Query connects to your Splunk Enterprise server.
Note: Using the Query Wizard is the supported method for creating queries with Excel.
The Choose Columns window of the Query Wizard appears after Microsoft Query opens.
The tables listed in the Available tables and columns pane map to the saved searches you created in Splunk.
Expand or collapse a table:
- Click the plus sign (+) or the minus sign (-) next to the table name.
Move columns into the query:
- Click the name of the column (each of which corresponds to a field in Splunk) in the left pane, and click the > button to move it to the query.
Change the order of columns in the query:
- In the right pane, click the column name, and click the up or down arrow button to move it up or down, respectively.
Remove columns from the query:
- Click the column name in the right pane, and click the < button to remove it.
Note: Table joins are not supported. Add columns from just one table to the query. Otherwise, the following error dialog box appears.
When you're done choosing columns, click Next. The Filter Data window of the Query Wizard appears. The columns that you chose appear in the left pane.
Filter results:
- Choose the column to filter from the left pane.
- Specify criteria to filter on in the right pane. For example, in the screen shot, we included only rows in the category_id column that do not equal GIFTS.
When you're done adding filter criteria, click Next. The Sort Order window of the Query Wizard appears. In this window, you choose how to sort the results that Splunk returns.
Specify how to sort data:
- Choose a column name from the list box under Sort by to sort on that column.
- Specify any secondary sorting in the next list box, and so on.
When you're done choosing sorting order, click Next. The Finish window of the Query Wizard appears. You can either return the data to Excel or to view or edit the query in Microsoft Query. Choose an option, and click Finish.
If you chose the first option, the data that corresponds to the options you chose will be returned to Excel. If you see the error message "The query returned no results" after you click Finish, your criteria was too specific, or in some other way did not select any results. Click OK, and click Back a few times to reenter your search criteria.
For more information, see "Use the Query Wizard to define a query" on the Microsoft Office website.
Load Balancer Configuration | Use the driver with Tableau |
This documentation applies to the following versions of Splunk® ODBC Driver: 1.0, 1.0.1, 2.0
Feedback submitted, thanks!