본문 바로가기

분류 전체보기254

패널 표시 전환 https://docs.splunk.com/Documentation/Splunk/9.4.1/Viz/tokenshttps://docs.splunk.com/Documentation/Splunk/9.4.1/Viz/ContextualDrilldown#Example_3 패널 전환 패널 전환 패널 A 표시 패널 B 표시 panel_a true true .. 2025. 3. 29.
룩업 와일드카드 대체 스플렁크는 와일드카드 사용시 많이 느리므로 다른 방법으로 속도 개선 * 오리지널test2 에 WILDCARD(SRC),WILDCARD(DEST) 정의| inputcsv test1.csv | lookup test2 SRC as src DEST as dest | table src dest use ``` use는 test2에만 존재하는 필드 ```  * 변경| inputcsv test1.csv | join type=left src [| inputlookup test2 | where DEST = "*" ``` SRC만 고려 ``` | rename * as *1 ```test2에 딸린 필드 리네임 (여러번의 join시 덮어쓰기 방지)``` | eval src=SRC1 ] | join t.. 2025. 3. 24.
[splunk] 대시보드 패널 데이터 공유 https://docs.splunk.com/Documentation/Splunk/9.4.0/Viz/SavedsearchesBasic post-process search 예시를 약간 변형해서 정리index=_internal source=*splunkd.log  | stats count by component, log_level  | stats sum(count) AS count by log_level 위와 같은 쿼리를 대시보드로 구성할 때  기존 결과를 재활용해서 성능을 높일 수 있다. * 패널A index=_internal source=*splunkd.log  | stats count by component, log_level  * 패널B [패널A의 결과값이 base] | stats sum(count) .. 2025. 2. 19.
[splunk] 요약 인덱스 매번 이렇게 검색하면 약 2.5초 소요된다 index="_internal"  | stats c by component 그러므로 검색 결과를 서머리에 저장했다가 index="_internal"  | sistats c by component  | collect index="summary" marker=mytag=haha 호출하면 0.1초만에 완료된다. index="summary" mytag=haha | stats c by component mytag는 marker 옵션으로 지정한 커스텀 필드명이다기본 요약 인덱스는 summary 이지만, 별도의 요약 인덱스를 생성 가능.이벤트의 시간값 필요시 si* 전에 | eval orig_time=_time 넣어서 집계 주의 사항이 있다https://docs.splunk.. 2025. 2. 19.
필드명에 하이픈 사용하지 않기 필드명에 대한 ai 답변 Splunk 공식 문서에 따르면 필드 이름에 유효한 문자는 az, AZ, 0-9, _(밑줄)입니다.하이픈은 이 목록에 포함되지 않습니다 다. https://docs.splunk.com/Documentation/Splunk/latest/Data/Configureindex-timefieldextractionhttps://community.splunk.com/t5/All-Apps-and-Add-ons/Field-names-with-hyphens/m-p/124356 2025. 2. 17.
[splunk] null 값만 있는 필드 제거하기 https://community.splunk.com/t5/Splunk-Search/How-do-I-remove-a-null-field/m-p/141579 | foreach * [ eval ">" = if('>' = 0, null(), '>') ] | stats values(*) as * by _time 2025. 2. 17.
스플렁크 대시보드에서 html 사용 원본 편집모드 > 패널 태그 안에 html 태그 사용하면 됨 hi  https://docs.splunk.com/Documentation/Splunk/9.4.0/Viz/PanelreferenceforSimplifiedXML#html 2025. 2. 13.
라즈베리파이에 도커 설치하기 Raspberry Pi OS (64-bit) - Lite * 도커 설치 https://docs.docker.com/engine/install/debian/# Set up Docker's apt repository.sudo apt-get updatesudo apt-get install ca-certificates curlsudo install -m 0755 -d /etc/apt/keyringssudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.ascsudo chmod a+r /etc/apt/keyrings/docker.ascecho \ "deb [arch=$(dpkg --print-architect.. 2025. 2. 12.
네이버 블로그 로컬AI로 요약하기 ai 사이트에 url 전송해서 요약이 불가능한 경우 로컬에서 처리하기 사전 조건ollama 설치https://ollama.com/모델 설치https://ollama.com/search저사양 환경에서는 2b 이하 모델 권고 (한국어는 gemma2가 좋음)허깅페이스 직접 다운로드 방법 : https://huggingface.co/docs/hub/ollama 크롬 확장 설치Page Assisthttps://chromewebstore.google.com/detail/page-assist-a-web-ui-for/jfgfiigpkhlkbnfnbobbkinehhfdhndo  우클릭 해제https://chromewebstore.google.com/detail/%EB%93%9C%EB%9E%98%EA%B7%B8%ED%94.. 2025. 2. 10.