분류 전체보기258 스플렁크 메모 중복 제거 : dc(x) 필드끼리 계산 : eval x=y+z _time 다듬기 : eval date=strftime(_time, "%Y-%m-%d") 필드명 변경 : rename x as y 정렬 : sort [n] -x (+는 오름차순, -는 내림차순 / n은 출력 개수) 통계 : stats first(x) (x필드의 첫번째 행 값) 필드 제거 : fields - x 특정 필드만 표시 : table x y 스파크라인 : chart sparkline(x) 필터링 : search a 2022. 3. 3. 플랫폼별 MAU 측정하기 PC 스플렁크 등으로 로그 수집 후 조회 유니크 id는 여러가지가 있음 dc 함수로 중복 제거 ... | timechart span=1mon dc(uuid) iOS https://appstoreconnect.apple.com/ 앱 분석 > 제품 선택 > 지표 우측 상단의 기간 > 특정 월 선택 활성 상태 (지난 30일) 선택 하단 리스트의 합계로 측정 (리스트의 평균값) 동의한 사용자만 모니터링 가능 (옵트인) 안드로이드 https://play.google.com/console 검색 > 통계 > 앱 선택 우측 상단에서 특정 월 선택 설치한 사용자 수 > 참여도 > 월간 활성 사용자 로 변경 수정 > 30일 이동 평균 조회 기준 > 모든 국가/지역 하단 리스트의 최종일로 측정 웹 https://analyt.. 2022. 2. 18. [python] 이미지 자르기 #pip install pillow from PIL import Image img = Image.open(r"D:\Downloads\test.jpg") # x start, y start, x length, y length crop_area = (201,343,1491,1097) cropped_img = img.crop(crop_area) cropped_img.show() cropped_img.save('D:/Downloads/' + 'test-croped' +'.jpg', 'JPEG') 2022. 2. 11. [python] pdf를 이미지로 변환 https://github.com/Belval/pdf2image GitHub - Belval/pdf2image: A python module that wraps the pdftoppm utility to convert PDF to PIL Image object A python module that wraps the pdftoppm utility to convert PDF to PIL Image object - GitHub - Belval/pdf2image: A python module that wraps the pdftoppm utility to convert PDF to PIL Image object github.com from pdf2image import convert_from_path # http.. 2022. 2. 11. [python] 컨플루언스에 파일 첨부하기 https://github.com/atlassian-api/atlassian-python-api GitHub - atlassian-api/atlassian-python-api: Atlassian Python REST API wrapper Atlassian Python REST API wrapper. Contribute to atlassian-api/atlassian-python-api development by creating an account on GitHub. github.com from atlassian import Confluence confluence = Confluence( url="http://localhost:8090", username="admin", password="admin", ).. 2022. 2. 8. 파이썬 번역 - googletrans https://github.com/ssut/py-googletrans # pip install googletrans==4.0.0rc1 from googletrans import Translator tran = Translator() result = tran.translate('hello', dest='ko') print(result.text) 아직 정식 버전이 아니라 그런지 bulk 기능은 오류 발생 tran = Translator() strings = ['hello','world'] results = tran.translate(strings, dest='ko') for result in results: print(result.text) bulk 대신 for 구문으로 여러개 번역하기 tran = Tran.. 2022. 1. 20. OS 시장 점유율 확인 사이트 https://store.steampowered.com/hwsurvey https://www.pcbenchmarks.net/os-marketshare.html https://netmarketshare.com/operating-system-market-share.aspx?id=platformsDesktopVersions https://gs.statcounter.com/os-version-market-share/windows/desktop/worldwide 2022. 1. 14. [python] pandas 차트 생성 오랜만에 해보니 셀레늄 문법이 일부 바뀜 from selenium import webdriver from selenium.webdriver.chrome.service import Service from webdriver_manager.chrome import ChromeDriverManager #현재 설치된 크롬 사용 from selenium.webdriver.common.by import By import pandas as pd chrome_service = Service(ChromeDriverManager().install()) chrome_options = webdriver.ChromeOptions() chrome_options.add_argument('headless') #브라우저가 백그라운드로 .. 2021. 12. 24. jira automation - 여러 날짜 중 포함 여부 체크 오늘이 공휴일이면 별도 분기를 하고 싶었음 일반 contains 가 동작하지 않아서 어쩔 수 없이 if else 여러 개를 사용했었는데 정규식을 사용하니까 한줄로 해결됨 https://support.atlassian.com/cloud-automation/docs/jira-automation-conditions/ 2021. 12. 17. 이전 1 ··· 7 8 9 10 11 12 13 ··· 29 다음