root@easyDATA:~# apt install pipxroot@easyDATA:~# pipx install elastalert2 installed package elastalert2 2.29.0, installed using Python 3.12.3 These apps are now globally available - elastalert - elastalert-create-index - elastalert-test-rule ⚠️ Note: '/root/.local/bin' is not on your PATH environment variable. These apps will not be globally accessible until your PATH is updated. Run pipx ensurepath to automatically add it, or manually modify your PATH in your shell's config file (i.e. ~/.bashrc). done!root@easyDATA:~# ls .local/bin/elastalert elastalert-create-index elastalert-test-rule
Easy to analyze -- if you're curious about data
2026년 4월 20일 월요일
Kibana Alert - 3rd
ElastAlert도 대안이 될 수 있다. pip로는 설치가 잘 되지 않아서 가상 환경을 자동으로 지원한다는 pipx로 WSL 우분투에 설치.
2026년 4월 15일 수요일
Splunk의 날짜 계산 - 2nd
12시간 간격 집계 결과. 데이터는 10일부터 존재하는데 시작 시간이 9일 21시? 스플렁크가 (한국보다 9시간 빠른) GMT 기준으로 시간을 계산한 결과, 10일 0시가 아닌 09시가 기준이 되면서 12시간 간격 시작 시간이 전날 21시가 된 듯.
2026년 4월 5일 일요일
2026년 3월 29일 일요일
2026년 3월 15일 일요일
2026년 3월 13일 금요일
2026년 3월 12일 목요일
TA-user-agents
useragent 정보를 분석해주는 스플렁크앱. 로그스태시 useragent 필터와 같은 정규표현식 검사 기반(regexes.yaml)으로 동작하며 브라우저, 운영체제, 디바이스별로 정보를 분류해준다. 그중 브라우저 정보만 출력.
2026년 2월 28일 토요일
2026년 2월 21일 토요일
SQL 대시보드 shaper
SQL을 입력하면 차트를 그려주는 데이터 시각화 툴 shaper.
C:\Users\Administrator>pip install shaper-binCollecting shaper-bin Downloading shaper_bin-0.14.0-py3-none-any.whl.metadata (2.3 kB)Requirement already satisfied: requests>=2.31.0 in c:\users\administrator\appdata\local\programs\python\python314\lib\site-packages (from shaper-bin) (2.32.5)Requirement already satisfied: charset_normalizer<4,>=2 in c:\users\administrator\appdata\local\programs\python\python314\lib\site-packages (from requests>=2.31.0->shaper-bin) (3.4.4)Requirement already satisfied: idna<4,>=2.5 in c:\users\administrator\appdata\local\programs\python\python314\lib\site-packages (from requests>=2.31.0->shaper-bin) (3.11)Requirement already satisfied: urllib3<3,>=1.21.1 in c:\users\administrator\appdata\local\programs\python\python314\lib\site-packages (from requests>=2.31.0->shaper-bin) (1.26.20)Requirement already satisfied: certifi>=2017.4.17 in c:\users\administrator\appdata\local\programs\python\python314\lib\site-packages (from requests>=2.31.0->shaper-bin) (2025.11.12)Downloading shaper_bin-0.14.0-py3-none-any.whl (12 kB)Installing collected packages: shaper-binSuccessfully installed shaper-bin-0.14.0
2026년 2월 8일 일요일
Sysmon의 이벤트 필터링
특정 경로의 실행 파일을 예외 처리하는 Network connection 이벤트 필터링 설정.
<Sysmon schemaversion="4.90"/> <!-- Capture all hashes --> <HashAlgorithms>*</HashAlgorithms> <EventFiltering> <FileDelete onmatch="include"/> <ClipboardChange onmatch="include"/> <ProcessCreate onmatch="exclude"/> <ProcessTerminate onmatch="include"/> <ProcessTampering onmatch="exclude"/> <ProcessAccess onmatch="exclude"/> <FileCreateTime onmatch="exclude"/> <FileCreate onmatch="exclude"/> <FileCreateStreamHash onmatch="exclude"/>2026년 2월 1일 일요일
2026년 1월 31일 토요일
2026년 1월 22일 목요일
2026년 1월 11일 일요일
Splunk의 xml 처리
xml 포맷을 갖는 sysmon 이벤트 로그. 가장 중요한 EventData 계층은 동일한 Data 자식 계층이 반복되는 중첩 구조를 가지고 있다.
<Event>
<System>
<Provider Name="Linux-Sysmon" Guid="{ff032593-a8d3-4f13-b0d6-01fc615a0f97}"/>
<EventID>5</EventID>
<Version>3</Version>
<Level>4</Level>
<Task>5</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2026-01-04T18:12:34.451516000Z"/>
2026년 1월 6일 화요일
Logstash 필터 xml
filebeat의 xml 데이터 처리. 깔끔.
processors: - include_fields: fields: "message" - decode_xml: field: message target_field: ""
피드 구독하기:
덧글 (Atom)











