Recently Updated Pages
Fluent-Bit Synchronization Database
Settings [INPUT] Name tail Path /var/external_logs/*.log Ta...
File and Folder
Show file contents from tail with specific line number limit: tail -n 200 <file> Show file conte...
Sample of Pod's Log
1. loki-minio-0 MinIO Object Storage Server Copyright: 2015-2022 MinIO, Inc. License: GNU AGPLv3 ...
Configuration
Configure Credentials: aws configure List of Configured Credentials: aws configure list
Debugging
Cannot find package 'uuid' imported from /var/task/index.mjs If your Lambda Layer contains @types...
Export Layer
1. Get the Layer ARN Ensure you have the full ARN of the Lambda Layer. It typically looks like: a...
Logging Data Backup Simulation with Docker
1. Prerequisites Install Docker and Docker Compose: Install Docker Install Docker Compose 2....
MinIO as Storage
1. What is MinIO? MinIO is a high-performance, distributed object storage system that is compati...
Logging Storage
1. Loki Storage Backend Loki stores logs in a backend system that is configured when Loki is depl...
Running Services
Kubernetes What It Does: Kubernetes manages the deployment, scaling, and operation of containe...
Table Indexing
1. What is Indexing? An index is a data structure that allows the database to find and retrieve s...
Bash Script to Delete Log Files Inside Pods Based on Retention Days with Different Target Folders
#!/bin/bash # Retention days for log files (delete files older than this many days) RETENTION_DA...
Build and Run a Container
Build the Docker image docker build -t <image-name> . Run the container: docker run -d --name <c...
Cannot Log in to an Instance via SSH
Eventhough port for SSH, port 22, has opened, the connection to the instance is still failed. One...
Bash Script to Delete Log Files Inside Pods Based on Retention Days
#!/bin/bash # Retention days for log files (delete files older than this many days) RETENTION_DA...
Managing CronJobs List
List all CronJobs in the current namespace: kubectl get cronjobs This will display a list of a...
Add a New CronJob
Option 1: Create a CronJob Using a YAML Manifest 1. Create a new cronjob.yaml file: apiVersion: b...
CronJobs
Command Format # Example of job definition: # .---------------- minute (0 - 59) # | .-----------...
Database Structure
This database helps AWS Lambda to index importing tasks. Tables Date Indexing Table CREATE TABLE ...
Activating SSL for BookStack Application
Add New Site This following code is the original nginx setup. server { listen 80; server_...