Guance Learn

Observability questions

Focused answers for definitions, architecture choices, troubleshooting, pricing, and evaluation.

Illustration of collecting, processing, and monitoring logs
Explainer

Run and troubleshoot rsyslog in a Docker container

Run rsyslog in the foreground, configure real inputs and outputs, and diagnose socket, kernel-log, and network-access problems in containers.

Illustration of collecting, processing, and monitoring logs
Explainer

Forward rsyslog messages over TCP to a specific port

Configure an rsyslog TCP sender and receiver with explicit queues, an isolated ruleset, and end-to-end verification on port 5000.

Log monitoring dashboard illustration
Explainer

Diagnose Elasticsearch search_phase_execution_exception

Read the root cause of a failed search, check mapping and shard availability, and separate invalid queries from queries that simply return no results.

Send Spring Boot logs directly to Logstash
Explainer

Send Spring Boot logs directly to Logstash

Configure the asynchronous Logstash TCP appender for Logback, match the JSON-lines input, and plan for bounded queues and delivery failures.

Log monitoring dashboard illustration
Explainer

Send JSON logs through Filebeat and Logstash to Kibana

Collect newline-delimited JSON with filestream, parse application fields once, normalize timestamps, and verify the resulting Elasticsearch documents in Kibana.

Illustration of monitoring and troubleshooting application behavior
Explainer

Does a full SQL Server backup truncate the transaction log?

Understand SQL Server log truncation under the full recovery model, schedule log backups, and distinguish reusable log space from shrinking the file.

Python programming and application logging
Explainer

Define a static method in Python

Use staticmethod for class-related helpers, distinguish automatic instance and class binding, and choose classmethod when subclass-aware state matters.

Illustration of server operations and log analysis
Explainer

Read the fields in an Nginx access log

Interpret the combined format, distinguish literal placeholders from variables, and add timing fields that your log parser can reliably consume.

Python programming and application logging
Explainer

Use super with __init__ in Python

Preserve initialization when overriding __init__, follow the method resolution order, and design cooperative multiple inheritance without passing stray arguments to object.

Python programming and application logging
Explainer

Understand Python slicing

Read start, stop, and step correctly, handle negative bounds, and distinguish list slice copies from views and slice assignment.

Send Java logs from Log4j 2 or Logback to Logstash
Explainer

Send Java logs from Log4j 2 or Logback to Logstash

Match the logging backend to its appender, configure JSON framing, and choose between direct TCP delivery and file-based collection.

Python programming and application logging
Explainer

Compare Python environment and version-management tools

Distinguish interpreter selection, virtual environments, dependency locking, and packaging across venv, virtualenv, pyenv, Pipenv, Poetry, and Conda.