Skip to content

Commit fafa470

Browse files
authored
Merge pull request #62 from lstewartsplunk/patch-1
Update README.md for sample_spl2_buttercup
2 parents fbc2c45 + 7db2976 commit fafa470

File tree

1 file changed

+12
-5
lines changed
  • spl2-sample-apps/sample_spl2_buttercup

1 file changed

+12
-5
lines changed

spl2-sample-apps/sample_spl2_buttercup/README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ title: "README - sample SPL2 buttercup games"
77
The `sample SPL2 buttercup games` app is a basic SPL2-based app that shows how to:
88

99
* Organize your app modules for customization and reuse.
10-
* How to specify a custom eval function.
10+
* Specify a custom eval function.
1111
* Specify the $SPLUNK_HOME path as a variable.
1212
* Use a dataset literal to provide sample data for the app.
1313
* Import an index, a lookup, and a function into the _default module.
@@ -20,7 +20,13 @@ This app is compatible with Splunk Enterprise.
2020

2121
You need a pre-release version of Splunk Enterprise that supports SPL2-based applications. See [SPL2 Public Beta overview](https://dev.splunk.com/enterprise/docs/developapps/createspl2apps/spl2previewoverview) for information about the Beta.
2222

23-
## Installation
23+
## Accessing the sample app
24+
25+
The app is available in the [spl2-sample-apps](https://github.com/splunk/splunk-app-examples/tree/master/spl2-sample-apps/sample_spl2_buttercup) folder on the Splunk GitHub Examples repository.
26+
27+
The app is uncompressed so that you can view the app folder structure, the modules, and other resources that are included with the app.
28+
29+
<!--## Installation
2430
2531
Complete the following steps to install a SPL2-based application:
2632
@@ -31,6 +37,7 @@ Complete the following steps to install a SPL2-based application:
3137
4. Locate the app file and select **Upload**. You might be prompted to restart the Splunk Enterprise instance.
3238
3339
2. Verify that the app appears in the **Apps** drop-down. You can also find the app on your pre-release instance in the `$SPLUNK_HOME/etc/apps/<app_name>`folder.
40+
-->
3441

3542
## App information
3643

@@ -43,8 +50,8 @@ This app was developed by Splunk.
4350
| App file name | sample_spl2_buttercup_games.spl | |
4451
| Namespace | apps.sample_spl2_buttercup | |
4552
| Module | _default | This module contains all of the searches for this app. |
46-
| Module | setup | This module contains the `get_metrics` function which includes a variable to specify the $SPLUNK_HOME path.
47-
| Module | functions | This module contains the custom eval function `prodnames`, which generates a string with the product ID and product name.
53+
| Module | setup | This module contains the `get_metrics` function which includes a variable to specify the $SPLUNK_HOME path. |
54+
| Module | functions | This module contains the custom eval function `prodnames`, which generates a string with the product ID and product name. |
4855
| Module | sample_data | This module contains a dataset literal of a sample set of events. |
4956
| View | $successful_purchases | This view returns specific fields from the dataset literal `$data`. The results are shown in a table in the "Buttercup Games" dashboard. |
5057
| View | $products | This view uses a lookup and returns the product names that correspond to the product IDs. For the dataset, this view uses the `successful purchases` view as a base search The `$products` view was extended in the Search Bar in Splunk Web to create the pie chart in the "Buttercup Games" dashboard. |
@@ -100,4 +107,4 @@ Alternatively, you can email us at `spl2@splunk.com`.
100107

101108
## Documentation
102109

103-
Splunk Developer Guide - [Create SPL2-based apps](https://dev.splunk.com/enterprise/docs/developapps/createspl2apps)
110+
Splunk Developer Guide - [Create SPL2-based apps](https://dev.splunk.com/enterprise/docs/developapps/createspl2apps)

0 commit comments

Comments
 (0)