분류 전체보기(1011)
-
Ubuntu 먹통 되었을 때
증상키보드 및 마우스가 USB에 꽂혀 있으면, 저렇게 됨조치키보드 및 마우스를 USB에서 제거GRUB 메뉴에서 Ubuntu 선택하고 ' e' 눌러서 에디팅 화면으로 들어감아래에 해당하는 구문 찾아서 끝에 'nomodeset' 추가linux /vmlinuz-5.15.0-136-generic root=/dev/mapper/ubuntu--vg-ubuntu--lv ro nomodeset
2025.04.12 -
td-agent avro @timestamp 추가하기
@type record_transformer enable_ruby true value_schema '{\"type\":\"record\",\"namespace\":\"com.hys.ubuntu\",\"name\":\"ubuntu_syslog\",\"fields\":[{\"name\":\"timestamp\",\"type\":\"string\"},{\"name\":\"host\",\"type\":\"string\"},{\"name\":\"ident\",\"type\":\"string\"},{\"name\":\"pid\",\"type\":\"string\"},{\"name\":\"message\",\"type\":\"string\"}]}' records [{"value":{"timestamp..
2025.04.10 -
ubuntu 미할당 disk 용량 할당하기
# 용량 확인df -h# Disk와 Partition 개요 확인lsblk---------------------------------------------------------sda 8:0 0 232.9G 0 disk├─sda1 8:1 0 1M 0 part├─sda2 8:2 0 2G 0 part /boot└─sda3 8:3 0 230.9G 0 part └─ubuntu--vg-ubuntu--lv 253:0 0 100G 0 lvm /--------------------------------------..
2025.04.08 -
fluent-plugin-out-http(1.3.4)
참조https://rubygems.org/gems/fluent-plugin-out-http/versions/1.3.4?locale=en fluent-plugin-out-http | RubyGems.org | your community gem host rubygems.orghttps://www.rubydoc.info/gems/fluent-plugin-out-http/1.3.4 File: README — Documentation for fluent-plugin-out-http (1.3.4)fluent-plugin-out-http, a plugin for Fluentd A generic fluentd output plugin for sending logs to an HTTP endpoint. NOTE: Thi..
2025.04.08 -
td-agent 사용하는 plugin 목록 확인
td-agent-gem list | grep fluent-plugin
2025.04.07 -
td-agent rest api/avro 방식으로 syslog 전달
# 디버깅 추가 log_level debug# syslog 정보 가져오기 @type tail path /var/log/syslog pos_file /var/log/td-agent/syslog.pos tag syslog.all read_from_head true @type syslog # AVRO 방식으로 데이터 전송# records는 필요한 컬럼 하나씩 상세히 기술해줘야 함 @type record_transformer enable_ruby true value_schema '{\"type\":\"record\",\"name\":\"SyslogRecord\",\"fields\":[{\"name\":\"host\",\"type\":\"string\"},{\"name\":\"i..
2025.04.07