Add elastic stack (#134) (#174)

* Add elastic stack (#134)

* (#134) Fix Upper case
pull/187/head
gabriel-tessier 5 years ago committed by GitHub
parent 8a9012fa24
commit 1eed33692a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@ set -e
app_root_dir="diagrams" app_root_dir="diagrams"
# NOTE: azure icon set is not latest version # NOTE: azure icon set is not latest version
providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas") providers=("onprem" "aws" "azure" "gcp" "firebase" "k8s" "alibabacloud" "oci" "programming" "saas" "elastic")
if ! [ -x "$(command -v round)" ]; then if ! [ -x "$(command -v round)" ]; then
echo 'round is not installed' echo 'round is not installed'

@ -11,7 +11,7 @@ DIR_APP_ROOT = "diagrams"
DIR_RESOURCE = "resources" DIR_RESOURCE = "resources"
DIR_TEMPLATE = "templates" DIR_TEMPLATE = "templates"
PROVIDERS = ("base", "onprem", "aws", "azure", "gcp", "firebase", "k8s", "alibabacloud", "oci", "programming", "saas") PROVIDERS = ("base", "onprem", "aws", "azure", "gcp", "firebase", "k8s", "alibabacloud", "oci", "programming", "saas", "elastic")
######################### #########################
# Resource Processing # # Resource Processing #
@ -35,6 +35,7 @@ FILE_PREFIXES = {
"oci": ("OCI-",), "oci": ("OCI-",),
"programming": (), "programming": (),
"saas": (), "saas": (),
"elastic": (),
} }
######################### #########################
@ -59,6 +60,7 @@ UPPER_WORDS = {
"sa", "sc", "sts", "svc", "sa", "sc", "sts", "svc",
), ),
"oci": ("oci",), "oci": ("oci",),
"elastic": ("apm", "siem", "ece", "eck"),
} }
TITLE_WORDS = { TITLE_WORDS = {
@ -356,4 +358,9 @@ ALIASES = {
}, },
}, },
"saas": {}, "saas": {},
"elastic": {
"elasticsearch": {
"Logstash": "LogStash",
}
},
} }

@ -0,0 +1,12 @@
"""
Elastic provides a set of general elastic services.
"""
from diagrams import Node
class _Elastic(Node):
_provider = "elastic"
_icon_dir = "resources/elastic"
fontcolor = "#ffffff"

@ -0,0 +1,49 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Elastic
class _Elasticsearch(_Elastic):
_type = "elasticsearch"
_icon_dir = "resources/elastic/elasticsearch"
class Alerting(_Elasticsearch):
_icon = "alerting.png"
class Elasticsearch(_Elasticsearch):
_icon = "elasticsearch.png"
class Kibana(_Elasticsearch):
_icon = "kibana.png"
class Logstash(_Elasticsearch):
_icon = "logstash.png"
class MachineLearning(_Elasticsearch):
_icon = "machine-learning.png"
class Maps(_Elasticsearch):
_icon = "maps.png"
class Monitoring(_Elasticsearch):
_icon = "monitoring.png"
class SecuritySettings(_Elasticsearch):
_icon = "security-settings.png"
class Sql(_Elasticsearch):
_icon = "sql.png"
# Aliases
LogStash = Logstash

@ -0,0 +1,27 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Elastic
class _Enterprisesearch(_Elastic):
_type = "enterprisesearch"
_icon_dir = "resources/elastic/enterprisesearch"
class AppSearch(_Enterprisesearch):
_icon = "app-search.png"
class EnterpriseSearch(_Enterprisesearch):
_icon = "enterprise-search.png"
class SiteSearch(_Enterprisesearch):
_icon = "site-search.png"
class WorkplaceSearch(_Enterprisesearch):
_icon = "workplace-search.png"
# Aliases

@ -0,0 +1,31 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Elastic
class _Observability(_Elastic):
_type = "observability"
_icon_dir = "resources/elastic/observability"
class APM(_Observability):
_icon = "apm.png"
class Logs(_Observability):
_icon = "logs.png"
class Metrics(_Observability):
_icon = "metrics.png"
class Observability(_Observability):
_icon = "observability.png"
class Uptime(_Observability):
_icon = "uptime.png"
# Aliases

@ -0,0 +1,19 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Elastic
class _Orchestration(_Elastic):
_type = "orchestration"
_icon_dir = "resources/elastic/orchestration"
class ECE(_Orchestration):
_icon = "ece.png"
class ECK(_Orchestration):
_icon = "eck.png"
# Aliases

@ -0,0 +1,23 @@
# This module is automatically generated by autogen.sh. DO NOT EDIT.
from . import _Elastic
class _Security(_Elastic):
_type = "security"
_icon_dir = "resources/elastic/security"
class Endpoint(_Security):
_icon = "endpoint.png"
class Security(_Security):
_icon = "security.png"
class SIEM(_Security):
_icon = "siem.png"
# Aliases

@ -0,0 +1,44 @@
---
id: elastic
title: Elastic
---
Node classes list of elastic provider.
## elastic.elasticsearch
- **diagrams.elastic.elasticsearch.Alerting**
- **diagrams.elastic.elasticsearch.Elasticsearch**
- **diagrams.elastic.elasticsearch.Kibana**
- **diagrams.elastic.elasticsearch.Logstash**, **LogStash** (alias)
- **diagrams.elastic.elasticsearch.MachineLearning**
- **diagrams.elastic.elasticsearch.Maps**
- **diagrams.elastic.elasticsearch.Monitoring**
- **diagrams.elastic.elasticsearch.SecuritySettings**
- **diagrams.elastic.elasticsearch.Sql**
## elastic.enterprisesearch
- **diagrams.elastic.enterprisesearch.AppSearch**
- **diagrams.elastic.enterprisesearch.EnterpriseSearch**
- **diagrams.elastic.enterprisesearch.SiteSearch**
- **diagrams.elastic.enterprisesearch.WorkplaceSearch**
## elastic.observability
- **diagrams.elastic.observability.APM**
- **diagrams.elastic.observability.Logs**
- **diagrams.elastic.observability.Metrics**
- **diagrams.elastic.observability.Observability**
- **diagrams.elastic.observability.Uptime**
## elastic.orchestration
- **diagrams.elastic.orchestration.ECE**
- **diagrams.elastic.orchestration.ECK**
## elastic.security
- **diagrams.elastic.security.Endpoint**
- **diagrams.elastic.security.Security**
- **diagrams.elastic.security.SIEM**

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

@ -7,7 +7,7 @@ from jinja2 import Environment, FileSystemLoader, Template
import config as cfg import config as cfg
from . import app_root_dir, doc_root_dir, resource_dir, template_dir from . import app_root_dir, doc_root_dir, resource_dir, template_dir
_usage = "Usage: generate.py <onprem|aws|gcp|azure|k8s|alibabacloud|oci|programming|saas>" _usage = "Usage: generate.py <onprem|aws|gcp|azure|k8s|alibabacloud|oci|programming|saas|elastic>"
def load_tmpl(tmpl: str) -> Template: def load_tmpl(tmpl: str) -> Template:

@ -98,6 +98,10 @@ def cleaner_saas(f):
return f.lower() return f.lower()
def cleaner_elastic(f):
return f.lower()
cleaners = { cleaners = {
"onprem": cleaner_onprem, "onprem": cleaner_onprem,
"aws": cleaner_aws, "aws": cleaner_aws,
@ -109,6 +113,7 @@ cleaners = {
"oci": cleaner_oci, "oci": cleaner_oci,
"programming": cleaner_programming, "programming": cleaner_programming,
"saas": cleaner_saas, "saas": cleaner_saas,
"elastic": cleaner_elastic,
} }

Loading…
Cancel
Save