Skip to content

Commit

Permalink
Changes to conform with Splunk Cloud requirements (#6)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonathan Wilcox <[email protected]>
  • Loading branch information
Jonathan-Wilcox and Jonathan Wilcox authored Apr 24, 2020
1 parent 640114b commit b7aaa89
Show file tree
Hide file tree
Showing 9 changed files with 385 additions and 58 deletions.
8 changes: 4 additions & 4 deletions delphix_dashboards/app.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
"id": {
"group": null,
"name": "delphix_dashboards",
"version": "1.0.0"
"version": "1.0.1"
},
"author": [
{
"name": "jwilcox3",
"email": null,
"company": null
"name": "Jonathan Wilcox",
"email": "[email protected]",
"company": "Delphix"
}
],
"releaseDate": null,
Expand Down
13 changes: 6 additions & 7 deletions delphix_dashboards/default/app.conf
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
[default]

[install]
build = 0
build = 1
state = enabled
is_configured = 0
install_source_checksum = df70eb6d7bda00eb0de6e07b2653725883b301da
install_source_checksum = 813e513124d30402e60cfd98bc98d4fda9bf2dc4

[launcher]
version = 1.0.0
version = 1.0.1
description = The Delphix Dashboards app is a great starting place to gain insight into the health and performance of your Delphix environment.
author = jwilcox3
email = [email protected]
company = Delphix

[author = Jonathan Wilcox]
[author=Jonathan Wilcox]
email = [email protected]
company = Delphix

[id]
name = delphix_dashboards
version = 1.0.0
version = 1.0.1

[package]
check_for_updates = 1
Expand Down
47 changes: 0 additions & 47 deletions delphix_dashboards/default/props.conf
Original file line number Diff line number Diff line change
@@ -1,47 +0,0 @@
[csv]

[dx_get_appliance]
DATETIME_CONFIG =
INDEXED_EXTRACTIONS = csv
KV_MODE = none
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
description = Comma-separated value format. Set header and other settings in "Delimited Settings"
disabled = false
pulldown_type = 1

[dx_get_env]
DATETIME_CONFIG =
INDEXED_EXTRACTIONS = csv
KV_MODE = none
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
description = Comma-separated value format. Set header and other settings in "Delimited Settings"
disabled = false
pulldown_type = 1

[dx_get_db_env]
DATETIME_CONFIG =
INDEXED_EXTRACTIONS = csv
KV_MODE = none
NO_BINARY_CHECK = true
REPORT-dx_get_appliance =
SHOULD_LINEMERGE = false
category = Structured
description = Comma-separated value format. Set header and other settings in "Delimited Settings"
disabled = false
pulldown_type = 1
REPORT-dx_get_db_env = REPORT-dx_get_db_env

[dx_get_audit]
DATETIME_CONFIG =
INDEXED_EXTRACTIONS = csv
KV_MODE = none
NO_BINARY_CHECK = true
SHOULD_LINEMERGE = false
category = Structured
description = Comma-separated value format. Set header and other settings in "Delimited Settings"
disabled = false
pulldown_type = 1
101 changes: 101 additions & 0 deletions delphix_dashboards/default/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
## Delphix Dashboards app for Splunk


### Getting Started


### Prerequisites



* Splunk version 7.x or later
* Delphix Engine 5.3.x or later
* Delphix Dashboards app from Splunkbase or Github


### Steps:



1. Install the Delphix Dashboards app on Splunk
2. Configure the events and metrics indexes
3. Update Macros if Necessary
4. Configure Splunk HEC Token.
5. Configure Splunk integration on each Delphix Engine


### Install the Delphix Dashboards app on Splunk



1. In Splunk, Apps>Install app from file
2. Browse to the Delphix Dashboards app package. It will be named delphix_dashboards-&lt;version>.tar.gz
3. Only select Upgrade app if there is already an older version of the app installed.
4. Click Upload
5.
6. The Delphix Dashboards App will now be available on the Apps Menu


### Configure the Splunk HEC Token



1. HEC Tokens are configured under Settings>Data Inputs>HTTP Event Collector
2. Give the token a name
3. Set the Source type to Automatic
4. Set the App Context to Delphix Dashboards
5. Set Allowed indexes to delphix_events and delphix_metrics
6. Set the default index to delphix_events
7. Review and Submit
8. Find the Token Value in Data Inputs > HTTP Event Collector
9. Find HEC Port and SSL Settings inData Inputs > HTTP Event Collector>Global Settings


### Configure the Indexes



1. Indexes are configured under Settings>Indexes
2. Create a new event index for Delphix events (recommended name is ‘delphix_events’)
3. Create a new metrics index for Delphix metrics (recommended name is ‘delphix_metrics’)


### Update Macros if Necessary



1. Macros are configured under Settings>Advanced Search>Search Macros
2. If the index for Delphix events is named something other than ‘delphix_events’, update the ‘delphix_events_index’ macro definition to match: index = “&lt;index_name>”
3. If the index for Delphix metrics is named something other than ‘delphix_metrics’, update the ‘delphix_events_index’ macro definition to match: index = “&lt;index_name>”


### Configure Splunk integration



1. In Delphix Setup>Preferences>Splunk Configuration
2. Enter Splunk Host IP
3. Enter Spunk Port
4. Enter HEC Token Value
5. Set Main Index to delphix_events
6. Change Push Frequency if desired
7. Set SSL to match Splunk Settings
8. Enable Metrics
9. Set Metrics Index to delphix_metrics
10. Change Push Frequency if desired
11. Change Performance Data Granularity if desired
12. Click Send Test Data to test the connection
13. If successful, click Save


### Install the Delphix Dashboards app on Splunk



1. In Splunk, Apps>Install app from file
2. Browse to the Delphix Dashboards app package. It will be named delphix_dashboards-&lt;version>.tar.gz
3. Only select Upgrade app if there is already an older version of the app installed.
4. Click Upload
5. The Delphix Dashboards App will now be available on the Apps Menu
6. Happy Splunking!

Empty file removed delphix_dashboards/local/.DS_Store
Empty file.
Empty file.
Empty file.
173 changes: 173 additions & 0 deletions delphix_dashboards/metadata/default.meta
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,176 @@ export = system
[viewstates]
access = read : [ * ], write : [ * ]
export = system

[app/ui]
version = 7.2.1
modtime = 1548804016.570845000

[app/launcher]
version = 7.2.1
modtime = 1548804016.572353000

[views/metrix]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 8.0.3
modtime = 1586269720.013914000

[views/events]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 8.0.3
modtime = 1586271863.148958000

[views/alerts]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 8.0.3
modtime = 1586270698.962712000

[views/perf]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 8.0.3
modtime = 1586267734.409034000

[views/delphix_performance_clone]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 7.2.0
modtime = 1542062517.862341000

[views/events_clone]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 7.2.0
modtime = 1542062525.812807000

[views/faults]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 8.0.3
modtime = 1586270883.292225000

[views/details]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 8.0.3
modtime = 1586270510.681716000

[views/capacity]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 7.3.4.2
modtime = 1585944808.290518000

[views/security]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 8.0.3
modtime = 1586271022.986236000

[]
access = read : [ * ], write : [ admin, delphix, power ]
export = none
version = 7.2.1
modtime = 1542064942.086170000

[views/jobs]
owner = admin
version = 8.0.3
modtime = 1586271134.155612000

[nav/default]
version = 7.3.4.2
modtime = 1586210062.379344000

[inputs/monitor%3A%2F%2F%2Fu01%2Fdxtoolkit_data%2Flinuxsource%2Fdata]
owner = admin
version = 7.2.1
modtime = 1542144690.675863000

[inputs/splunktcp%3A%2F%2F9997]
owner = admin
version = 7.2.1
modtime = 1543609257.916827000

[indexes/delphix_dxtoolkit]
owner = admin
version = 7.2.1
modtime = 1544643641.831614000

[props/dx_get_appliance]
owner = admin
version = 7.2.1
modtime = 1548361142.677422000

[views/delphix_dxtoolkit]
access = read : [ * ], write : [ * ]
export = none
owner = admin
version = 7.3.4.2
modtime = 1585790635.639053000

[panels/delphix_engine_status]
owner = admin
version = 7.2.1
modtime = 1544642190.919282000

[props/dx_get_env]
owner = admin
version = 7.2.1
modtime = 1548361149.905897000

[props/dx_get_db_env]
owner = admin
version = 7.2.1
modtime = 1548367372.161820000

[props/dx_get_audit]
owner = admin
version = 7.2.1
modtime = 1548366334.065492000

[app/package/check_for_updates]
version = 7.2.1
modtime = 1548804016.572990000

[indexes/delphix_events]
version = 7.2.1
modtime = 1548703459.895679000

[app/install/install_source_checksum]
version = 8.0.3
modtime = 1587670312.513545000

[macros/delphix_events_index]
access = read : [ * ], write : [ admin, can_delete, power ]
export = none
owner = nobody
version = 7.3.4.2
modtime = 1585790314.634075000

[macros/delphix_metrics_index]
version = 7.3.4.2
modtime = 1585790324.229069000

[views/delphix_daily]
owner = admin
version = 8.0.3
modtime = 1586267317.108074000

[views/delphix_daily_details]
owner = admin
version = 8.0.3
modtime = 1586269645.474277000
Loading

0 comments on commit b7aaa89

Please sign in to comment.