pull/650/merge
hadi tayanloo 3 years ago committed by GitHub
commit 6899174534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ DIR_TEMPLATE = "templates"
PROVIDERS = ( PROVIDERS = (
"base", "onprem", "aws", "azure", "digitalocean", "gcp", "ibm", "firebase", "k8s", "alibabacloud", "oci", "base", "onprem", "aws", "azure", "digitalocean", "gcp", "ibm", "firebase", "k8s", "alibabacloud", "oci",
"programming", "saas", "elastic", "generic", "openstack", "outscale") "programming", "saas", "elastic", "generic", "openstack", "outscale","splunk")
######################### #########################
# Resource Processing # # Resource Processing #
@ -38,6 +38,7 @@ FILE_PREFIXES = {
"alibabacloud": (), "alibabacloud": (),
"oci": ("OCI-icon-",), "oci": ("OCI-icon-",),
"programming": (), "programming": (),
"splunk": (),
"saas": (), "saas": (),
"elastic": (), "elastic": (),
"outscale": (), "outscale": (),
@ -421,6 +422,17 @@ ALIASES = {
"Typescript": "TypeScript" "Typescript": "TypeScript"
}, },
}, },
"splunk": {
"framework": {
"Fastapi": "FastAPI"
},
"language": {
"Javascript": "JavaScript",
"Nodejs": "NodeJS",
"Php": "PHP",
"Typescript": "TypeScript"
},
},
"saas": { "saas": {
"logging": { "logging": {
"Datadog": "DataDog", "Datadog": "DataDog",

@ -280,7 +280,7 @@ class Node:
_icon_dir = None _icon_dir = None
_icon = None _icon = None
_height = 1.9 _height = 2.3
def __init__(self, label: str = "", *, nodeid: str = None, **attrs: Dict): def __init__(self, label: str = "", *, nodeid: str = None, **attrs: Dict):
"""Node represents a system component. """Node represents a system component.

@ -20,6 +20,10 @@ class Django(_Framework):
_icon = "django.png" _icon = "django.png"
class Splunk(_Framework):
_icon = "django.png"
class Ember(_Framework): class Ember(_Framework):
_icon = "ember.png" _icon = "ember.png"

@ -0,0 +1,12 @@
"""
splunk provides a set of splunk General and Cluster.
"""
from diagrams import Node
class _Splunk(Node):
_provider = "splunk"
_icon_dir = "resources/splunk"
fontcolor = "#ffffff"

@ -0,0 +1,98 @@
from . import _Splunk
class _Cluster(_Splunk):
_type = "cluster"
_icon_dir = "resources/splunk/cluster"
class App(_Cluster):
_icon = "app.png"
class Deployer(_Cluster):
_icon = "deployer.png"
class ES(_Cluster):
_icon = "es.png"
class Forwarder(_Cluster):
_icon = "forwarder.png"
class HEC(_Cluster):
_icon = "hec.png"
class LicenseMaster(_Cluster):
_icon = "license-master.png"
class MasterCluster_node(_Cluster):
_icon = "master-cluster-node.png"
class Router(_Cluster):
_icon = "router.png"
class SHCluster(_Cluster):
_icon = "sh-cluster.png"
class SystemsLinux(_Cluster):
_icon = "systems-linux.png"
class Bucket(_Cluster):
_icon = "bucket.png"
class DeploymentServer(_Cluster):
_icon = "deployment-server.png"
class ESServer(_Cluster):
_icon = "es-server.png"
class HeavyForwader(_Cluster):
_icon = "heavy-forwader.png"
class Indexer(_Cluster):
_icon = "indexer.png"
class LicenseServer(_Cluster):
_icon = "license-server.png"
class People(_Cluster):
_icon = "people.png"
class SearchHead(_Cluster):
_icon = "search-head.png"
class SplunkCloud(_Cluster):
_icon = "splunk-cloud.png"
class Systems(_Cluster):
_icon = "systems.png"
class Datastores(_Cluster):
_icon = "datastores.png"
class Desktop(_Cluster):
_icon = "desktop.png"
class Firewall(_Cluster):
_icon = "firewall.png"
class HeavyForwarders(_Cluster):
_icon = "heavy-forwarders.png"
class Laptop(_Cluster):
_icon = "laptop.png"
class LogFile(_Cluster):
_icon = "log-file.png"
class Person(_Cluster):
_icon = "person.png"
class Search(_Cluster):
_icon = "search.png"
class SplunkInstance(_Cluster):
_icon = "splunk-instance.png"
class SystemsWindows(_Cluster):
_icon = "systems-windows.png"

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

@ -115,6 +115,9 @@ def cleaner_programming(f):
return f.lower() return f.lower()
def cleaner_splunk(f):
return f.lower()
def cleaner_generic(f): def cleaner_generic(f):
return f.lower() return f.lower()
@ -147,6 +150,7 @@ cleaners = {
"alibabacloud": cleaner_alibabacloud, "alibabacloud": cleaner_alibabacloud,
"oci": cleaner_oci, "oci": cleaner_oci,
"programming": cleaner_programming, "programming": cleaner_programming,
"splunk": cleaner_splunk,
"saas": cleaner_saas, "saas": cleaner_saas,
"elastic": cleaner_elastic, "elastic": cleaner_elastic,
"outscale": cleaner_outscale, "outscale": cleaner_outscale,

@ -74,6 +74,9 @@
"nodes/programming": { "nodes/programming": {
"title": "Programming" "title": "Programming"
}, },
"nodes/splunk": {
"title": "splunk"
},
"nodes/saas": { "nodes/saas": {
"title": "Saas" "title": "Saas"
} }

@ -26,6 +26,7 @@
"nodes/outscale", "nodes/outscale",
"nodes/generic", "nodes/generic",
"nodes/programming", "nodes/programming",
"nodes/splunk",
"nodes/saas", "nodes/saas",
"nodes/c4", "nodes/c4",
"nodes/custom" "nodes/custom"

Loading…
Cancel
Save