csle_rest_api.resources.logs package

Submodules

csle_rest_api.resources.logs.routes module

Routes and sub-resources for the /logs resource

csle_rest_api.resources.logs.routes.cadvisor_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/cadvisor resource.

Returns

The logs of cAdvisor

csle_rest_api.resources.logs.routes.client_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/client-manager resource.

Returns

The logs of the client manager

csle_rest_api.resources.logs.routes.cluster_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/clustermanager resource.

Returns

The Clustermanager logs

csle_rest_api.resources.logs.routes.container_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/container resource.

Returns

The logs of a specific container

csle_rest_api.resources.logs.routes.docker_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/docker resource.

Returns

The Docker logs

csle_rest_api.resources.logs.routes.docker_stats_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/docker-stats-manager resource.

Returns

The logs of the docker stats manager

csle_rest_api.resources.logs.routes.elk_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/elk-stack resource.

Returns

The logs of an ELK-stack instance with a specific IP

csle_rest_api.resources.logs.routes.elk_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/elk-manager resource.

Returns

The logs of a ELK manager with a specific IP

csle_rest_api.resources.logs.routes.flask_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/flask resource.

Returns

The Flask logs

csle_rest_api.resources.logs.routes.grafana_logs() Tuple[flask.wrappers.Response, int][source]

The /lofgs/grafana resource.

Returns

The logs of the docker stats manager

csle_rest_api.resources.logs.routes.host_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/host-manager resource.

Returns

The logs of a Host manager with a specific IP

csle_rest_api.resources.logs.routes.kafka_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/kafka resource.

Returns

The logs of the kafka server

csle_rest_api.resources.logs.routes.kafka_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/kafka-manager resource.

Returns

The logs of the kafka manager

csle_rest_api.resources.logs.routes.logs() Tuple[flask.wrappers.Response, int][source]

The /logs resource.

Returns

List of log files in the CSLE logging directory

csle_rest_api.resources.logs.routes.nginx_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/nginx resource.

Returns

The nginx logs

csle_rest_api.resources.logs.routes.node_exporter_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/node-exporter resource.

Returns

The logs of the docker stats manager

csle_rest_api.resources.logs.routes.ossec_ids_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/ossec-ids resource.

Returns

The logs of an OSSEC IDS with a specific IP

csle_rest_api.resources.logs.routes.ossec_ids_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/ossec-ids-manager resource.

Returns

The logs of a OSSEC IDS manager with a specific IP

csle_rest_api.resources.logs.routes.pgadmin_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/pgadmin resource.

Returns

The logs of pgAdmin

csle_rest_api.resources.logs.routes.postgresql_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/postgresql resource.

Returns

The PostgreSQL logs

csle_rest_api.resources.logs.routes.prometheus_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/prometheus resource.

Returns

The Prometheus logs

csle_rest_api.resources.logs.routes.ryu_controller_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/ryu-controller resource.

Returns

The logs of a Ryu controller with a specific IP

csle_rest_api.resources.logs.routes.ryu_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/ryu-manager resource.

Returns

The logs of a Ryu manager with a specific IP

csle_rest_api.resources.logs.routes.snort_ids_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/snort-ids-logs resource.

Returns

The logs of a Snort IDS with a specific IP

csle_rest_api.resources.logs.routes.snort_ids_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/snort-ids-manager resource.

Returns

The logs of a Snort IDS manager with a specific IP

csle_rest_api.resources.logs.routes.traffic_manager_logs() Tuple[flask.wrappers.Response, int][source]

The /logs/traffic-manager resource.

Returns

The logs of a Traffic manager with a specific IP

Module contents