logstash grok 정규표현식
# DataBase/Elasticsearch2022. 9. 2. 15:12logstash grok 정규표현식

apache accesslog 1.1.2.2 - - [21/Jul/2022:15:14:31 +0900] "GET /common/json/agent.do?mhost=&userid=f37214ef1d004c28b3bf0b60&_=165837209471350329237139 HTTP/1.1" 200 165 정규 필터 의미 \w 한글자 \w+ 한단어 \d 정수1자리 \d+ 정수 전체 \s 공백 한칸 \s+ 공백 전체 \특수문자 특수문자 구분 정규 필터 의미 . ? + 사용자가 지정한 문자열의 마지막글자가 연속으로 나열된만큼 매칭. \w, \d 의 경우 문자나 숫자를 전부 읽어서 매칭하고 \s는 연속된 공백 1개이상에대해 매칭. {} 사용자가 지정한 문자에 대해 반복횟수 지정하여 매칭 | or연산자 () 부분집합..

[elasticsearch]heap out of memory(OOM)
# DataBase/Elasticsearch2022. 8. 19. 08:35[elasticsearch]heap out of memory(OOM)

가이드에는 힙사이즈를 전체 물리 메모리의 50%로 셋팅하는것으로 권장. 32기가라면 16기가정도로 셋팅. Set Xms and Xmx to no more than 50% of your total memory. Elasticsearch requires memory for purposes other than the JVM heap. For example, Elasticsearch uses off-heap buffers for efficient network communication and relies on the operating system’s filesystem cache for efficient access to files. The JVM itself also requires some memory. I..

mariadb 버전 업그레이드
# DataBase/Mysql(MariaDB)2022. 7. 19. 07:48mariadb 버전 업그레이드

메이저 버전이던 마이너버전이던 둘다 동일 1. mariadb 버전확인 [darksharavim.tistory.com]mysql -V mysql Ver 15.1 Distrib 10.3.35-MariaDB, for Linux (x86_64) using readline 5.1 2. innodb_fast_shutdown을 0으로 설정 [darksharavim.tistory.com]mysql -u root -p --execute="SET GLOBAL innodb_fast_shutdown=0" Enter password: [darksharavim.tistory.com] https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_fast_..

mariadb 특정 버전 지정 설치
# DataBase/Mysql(MariaDB)2022. 7. 19. 07:07mariadb 특정 버전 지정 설치

1. 다운로드 페이지 접속 https://mariadb.org/download/ Download MariaDB Server - MariaDB.org REST API Release Schedule Reporting Bugs … Continue reading "Download MariaDB Server" mariadb.org 2. OS 및 설치버전 선택 3. /etc/yum.repos.d경로에 mariadb.repo추가 # MariaDB 10.3 CentOS repository list - created 2022-07-19 04:26 UTC # https://mariadb.org/download/ [mariadb] name = MariaDB baseurl = https://tw1.mirror.blendbyt..

kibana 8.2.3 install
# DataBase/Elasticsearch2022. 6. 17. 13:56kibana 8.2.3 install

다운로드 https://www.elastic.co/kr/downloads/kibana Download Kibana Free | Get Started Now Download Kibana or the complete Elastic Stack (formerly ELK stack) for free and start visualizing, analyzing, and exploring your data with Elastic in minutes. www.elastic.co kibana 레포지토리 추가 [darksharavim.tistory.com]vi /etc/yum.repos.d/kibana.repo # 아래내용 추가 [kibana-8.x] name=Kibana repository for 8.x packages ..

image