Skip to content

Commit

Permalink
fix: update builder_version from 4.1.0 to 4.1.3, part 3
Browse files Browse the repository at this point in the history
  • Loading branch information
wastorga committed Oct 13, 2023
1 parent 0eb7e2b commit 1364e7a
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 57 deletions.
2 changes: 1 addition & 1 deletion Splunk-TA-cisco-dnacenter/default/data/ui/nav/default.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav search_view="search" color="#ffffff">
<nav search_view="search" color="#65A637">
<view name="inputs" default="true" />
<view name="configuration"/>
<view name="search" label="Search"/>
Expand Down
21 changes: 13 additions & 8 deletions Splunk-TA-cisco-dnacenter/default/inputs.conf
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
[cisco_dnac_clienthealth]
start_by_shell = false
python.version = python3
sourcetype = cisco:dnac:clienthealth
interval = 900
disabled = 0

[cisco_dnac_devicehealth]
start_by_shell = false
python.version = python3
Expand Down Expand Up @@ -40,40 +33,52 @@ sourcetype = cisco:dnac:securityadvisory
interval = 900
disabled = 0

[cisco_dnac_clienthealth]
start_by_shell = false
python.version = python3
sourcetype = cisco:dnac:clienthealth
interval = 900
disabled = 0

# [cisco_dnac_clienthealth://sandbox_clienthealth]
# cisco_dna_center_account = sandbox
# cisco_dna_center_host = https://sandboxdnac.cisco.com
# index = main
# interval = 1800
# disabled = 1

# [cisco_dnac_devicehealth://sandbox_devicehealth]
# cisco_dna_center_account = sandbox
# cisco_dna_center_host = https://sandboxdnac.cisco.com
# interval = 1800
# index = main
# interval = 1800
# disabled = 1

# [cisco_dnac_compliance://sandbox_compliance]
# cisco_dna_center_account = sandbox
# cisco_dna_center_host = https://sandboxdnac.cisco.com
# index = main
# interval = 1800
# disabled = 1

# [cisco_dnac_issue://sandbox_issue]
# cisco_dna_center_account = sandbox
# cisco_dna_center_host = https://sandboxdnac.cisco.com
# index = main
# interval = 1800
# disabled = 1

# [cisco_dnac_networkhealth://sandbox_networkhealth]
# cisco_dna_center_account = sandbox
# cisco_dna_center_host = https://sandboxdnac.cisco.com
# index = main
# interval = 1800
# disabled = 1

# [cisco_dnac_securityadvisory://sandbox_securityadvisory]
# cisco_dna_center_account = sandbox
# cisco_dna_center_host = https://sandboxdnac.cisco.com
# index = main
# interval = 1800
# disabled = 1

38 changes: 6 additions & 32 deletions Splunk-TA-cisco-dnacenter/default/props.conf
Original file line number Diff line number Diff line change
@@ -1,68 +1,42 @@
# [source::...splunk-ta-cisco-dnacenter*.log*]
# sourcetype = splunktaciscodnacenter:log
[source::...splunk-ta-cisco-dnacenter*.log*]
sourcetype = splunktaciscodnacenter:log

# [source::...splunk_ta_cisco_dnacenter*.log*]
# sourcetype = splunktaciscodnacenter:log
[source::...splunk_ta_cisco_dnacenter*.log*]
sourcetype = splunktaciscodnacenter:log

[cisco:dnac:clienthealth]
INDEXED_EXTRACTIONS = json
SHOULD_LINEMERGE = 0
category = Splunk App Add-on Builder
pulldown_type = 1
KV_MODE = none

[cisco:dnac:compliance]
INDEXED_EXTRACTIONS = json
SHOULD_LINEMERGE = 0
category = Splunk App Add-on Builder
pulldown_type = 1
KV_MODE = none

[cisco:dnac:devicehealth]
INDEXED_EXTRACTIONS = json
SHOULD_LINEMERGE = 0
category = Splunk App Add-on Builder
pulldown_type = 1
KV_MODE = none

[cisco:dnac:fabricdevice]
INDEXED_EXTRACTIONS = json
SHOULD_LINEMERGE = 0
category = Splunk App Add-on Builder
pulldown_type = 1
KV_MODE = none

[cisco:dnac:fabricsite]
INDEXED_EXTRACTIONS = json
SHOULD_LINEMERGE = 0
category = Splunk App Add-on Builder
pulldown_type = 1
KV_MODE = none

[cisco:dnac:image]
[cisco:dnac:issue]
INDEXED_EXTRACTIONS = json
SHOULD_LINEMERGE = 0
category = Splunk App Add-on Builder
pulldown_type = 1
KV_MODE = none

[cisco:dnac:networkhealth]
INDEXED_EXTRACTIONS = json
SHOULD_LINEMERGE = 0
category = Splunk App Add-on Builder
pulldown_type = 1
KV_MODE = none

[cisco:dnac:issue]
INDEXED_EXTRACTIONS = json
SHOULD_LINEMERGE = 0
category = Splunk App Add-on Builder
pulldown_type = 1
KV_MODE = none

[cisco:dnac:securityadvisory]
INDEXED_EXTRACTIONS = json
SHOULD_LINEMERGE = 0
category = Splunk App Add-on Builder
pulldown_type = 1
KV_MODE = none

16 changes: 8 additions & 8 deletions Splunk-TA-cisco-dnacenter/default/restmap.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[admin:Splunk_TA_cisco_dnacenter]
match = /
members = Splunk_TA_cisco_dnacenter_account, Splunk_TA_cisco_dnacenter_settings, Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth, Splunk_TA_cisco_dnacenter_cisco_dnac_devicehealth, Splunk_TA_cisco_dnacenter_cisco_dnac_compliance, Splunk_TA_cisco_dnacenter_cisco_dnac_issue, Splunk_TA_cisco_dnacenter_cisco_dnac_networkhealth, Splunk_TA_cisco_dnacenter_cisco_dnac_securityadvisory
members = Splunk_TA_cisco_dnacenter_account, Splunk_TA_cisco_dnacenter_settings, Splunk_TA_cisco_dnacenter_cisco_dnac_devicehealth, Splunk_TA_cisco_dnacenter_cisco_dnac_compliance, Splunk_TA_cisco_dnacenter_cisco_dnac_issue, Splunk_TA_cisco_dnacenter_cisco_dnac_networkhealth, Splunk_TA_cisco_dnacenter_cisco_dnac_securityadvisory, Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth

[admin_external:Splunk_TA_cisco_dnacenter_account]
handlertype = python
Expand All @@ -17,13 +17,6 @@ handlerfile = Splunk_TA_cisco_dnacenter_rh_settings.py
handleractions = edit, list
handlerpersistentmode = true

[admin_external:Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth]
handlertype = python
python.version = python3
handlerfile = Splunk_TA_cisco_dnacenter_rh_cisco_dnac_clienthealth.py
handleractions = edit, list, remove, create
handlerpersistentmode = true

[admin_external:Splunk_TA_cisco_dnacenter_cisco_dnac_devicehealth]
handlertype = python
python.version = python3
Expand Down Expand Up @@ -58,3 +51,10 @@ python.version = python3
handlerfile = Splunk_TA_cisco_dnacenter_rh_cisco_dnac_securityadvisory.py
handleractions = edit, list, remove, create
handlerpersistentmode = true

[admin_external:Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth]
handlertype = python
python.version = python3
handlerfile = Splunk_TA_cisco_dnacenter_rh_cisco_dnac_clienthealth.py
handleractions = edit, list, remove, create
handlerpersistentmode = true
16 changes: 8 additions & 8 deletions Splunk-TA-cisco-dnacenter/default/web.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ methods = POST, GET
pattern = Splunk_TA_cisco_dnacenter_settings/*
methods = POST, GET, DELETE

[expose:Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth]
pattern = Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth
methods = POST, GET

[expose:Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth_specified]
pattern = Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth/*
methods = POST, GET, DELETE

[expose:Splunk_TA_cisco_dnacenter_cisco_dnac_devicehealth]
pattern = Splunk_TA_cisco_dnacenter_cisco_dnac_devicehealth
methods = POST, GET
Expand Down Expand Up @@ -63,6 +55,14 @@ methods = POST, GET
pattern = Splunk_TA_cisco_dnacenter_cisco_dnac_securityadvisory/*
methods = POST, GET, DELETE

[expose:Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth]
pattern = Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth
methods = POST, GET

[expose:Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth_specified]
pattern = Splunk_TA_cisco_dnacenter_cisco_dnac_clienthealth/*
methods = POST, GET, DELETE

[expose:_splunkd_data]
pattern = data/*
methods = GET

0 comments on commit 1364e7a

Please sign in to comment.