Splunk® Dashboards App

Splunk Dashboards app (beta) for Enterprise and Cloud

Acrobat logo Download manual as PDF


Acrobat logo Download topic as PDF

Use ds.test when you want to use mock data

The ds.test data source is used for sample data.

ds.test data sources can only be created in the source editor

You create column events and field values manually. The order of the column and field options is unimportant, but you must have the same number of column values as field names. ds.test is commonly structured in a way similar to this data source taken from the Boston Marathon example.

"bodyTemp": {
	"name": "search5",
	"options": {
		"data": {
			"columns": [
				[
					"99.6"
				],
				[
					"98.7"
				],
				[
					"99.4"
				]
			],
			"fields": [
				{
					"name": "Alan"
				},
				{
					"name": "Emily"
				},
				{
					"name": "Jasmin"
				}
			]
		},
		"meta": {}
	},
	"type": "ds.test"
},

ds.test example

A run-anywhere example of a dashboard that only uses mock data is in the Boston Marathon in the examples section of the manual.

Last modified on 28 September, 2020
PREVIOUS
Use ds.savedSearch to use reports and saved searches
  NEXT
Add secondary data sources to your visualization

This documentation applies to the following versions of Splunk® Dashboards App: 0.8.0, 0.9.0


Was this documentation topic helpful?

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters