Citrix Monitor Service 로그 수집

파서 버전: 2.0

다음에서 지원:

이 문서에서는 Cloud Storage를 사용하여 Citrix Monitor Service 로그를 Google Security Operations로 수집하는 방법을 설명합니다. Citrix Monitor Service는 Citrix DaaS(이전 명칭: Citrix Virtual Apps and Desktops Service)의 일부로, Citrix 환경 전반에서 머신, 세션, 연결, 애플리케이션, 사용자에 대한 데이터를 모니터링하는 OData v4 API를 제공합니다. Cloud Run 함수는 일정에 따라 Citrix Monitor Service OData API를 폴링하고 수집된 로그를 Cloud Storage 버킷에 기록하며, Google SecOps는 이 버킷에서 로그를 수집합니다.

시작하기 전에

다음 기본 요건이 충족되었는지 확인합니다.

  • Google SecOps 인스턴스
  • Cloud Storage API가 사용 설정된 Google Cloud 프로젝트
  • Cloud Storage 버킷을 만들고 관리할 수 있는 권한
  • Cloud Storage 버킷에서 Identity and Access Management(IAM) 정책을 관리할 수 있는 권한
  • Cloud Run Functions, Pub/Sub 주제, Cloud Scheduler 작업을 만들 수 있는 권한
  • 서비스 계정을 만들고 IAM 역할을 관리할 수 있는 권한
  • 관리자 역할로 Citrix Cloud 테넌트에 대한 권한 있는 액세스
  • Citrix Cloud API 사용자 인증 정보(클라이언트 ID, 클라이언트 보안 비밀번호, 고객 ID)

Citrix Monitor Service API 사용자 인증 정보 수집

  1. Citrix Cloud 콘솔에 로그인합니다.
  2. Identity and Access Management > API 액세스로 이동합니다.
  3. 클라이언트 만들기를 클릭합니다.
  4. 다음 세부정보를 복사하여 안전한 위치에 저장합니다.

    • 클라이언트 ID
    • 클라이언트 보안 비밀번호
    • 고객 ID(Citrix Cloud 콘솔 상단에 표시됨)
    • API 기준 URL(리전 기준):
      • 미국/EU/AP-S: https://api.cloud.com
      • 일본: https://api.citrixcloud.jp
      • 미국 정부: https://api.cloud.us

테스트 API 액세스

  • 통합을 진행하기 전에 사용자 인증 정보를 테스트합니다.

    # Replace with your actual credentials
    CITRIX_CUSTOMER_ID="your-customer-id"
    CITRIX_CLIENT_ID="your-client-id"
    CITRIX_CLIENT_SECRET="your-client-secret"
    API_BASE="https://api.cloud.com"
    
    # Get bearer token
    TOKEN=$(curl -s -X POST "${API_BASE}/cctrustoauth2/${CITRIX_CUSTOMER_ID}/tokens/clients" \
      -H "Content-Type: application/x-www-form-urlencoded" \
      -d "grant_type=client_credentials&client_id=${CITRIX_CLIENT_ID}&client_secret=${CITRIX_CLIENT_SECRET}" \
      | python3 -c "import sys,json; print(json.load(sys.stdin)['access_token'])")
    
    # Test Monitor OData API access
    curl -v "${API_BASE}/monitorodata/Machines?\$top=1" \
      -H "Authorization: CWSAuth bearer=${TOKEN}" \
      -H "Citrix-CustomerId: ${CITRIX_CUSTOMER_ID}" \
      -H "Accept: application/json"
    

JSON 데이터가 포함된 HTTP 200 응답을 받으면 사용자 인증 정보가 올바르게 작동하는 것입니다.

Cloud Storage 버킷 만들기

  1. Google Cloud 콘솔로 이동합니다.
  2. 프로젝트를 선택하거나 새 프로젝트를 만듭니다.
  3. 탐색 메뉴에서 Cloud Storage > 버킷으로 이동합니다.
  4. 버킷 만들기를 클릭합니다.
  5. 다음 구성 세부정보를 제공합니다.

    설정 값
    버킷 이름 지정 전역적으로 고유한 이름(예: citrix-monitor-logs)을 입력합니다.
    위치 유형 필요에 따라 선택(리전, 이중 리전, 멀티 리전)
    위치 위치를 선택합니다(예: us-central1).
    스토리지 클래스 표준(자주 액세스하는 로그에 권장)
    액세스 제어 균일(권장)
    보호 도구 선택사항: 객체 버전 관리 또는 보관 정책 사용 설정
  6. 만들기를 클릭합니다.

Cloud Run Functions의 서비스 계정 만들기

Cloud Run 함수에는 Cloud Storage 버킷에 쓸 수 있는 권한이 있는 서비스 계정이 필요합니다.

서비스 계정 만들기

  1. Google Cloud 콘솔에서 IAM 및 관리자 > 서비스 계정으로 이동합니다.
  2. 서비스 계정 만들기를 클릭합니다.
  3. 다음 구성 세부정보를 제공합니다.
    • 서비스 계정 이름: citrix-monitor-collector-sa을 입력합니다.
    • 서비스 계정 설명: Service account for Cloud Run function to collect Citrix Monitor Service logs을 입력합니다.
  4. 만들고 계속하기를 클릭합니다.
  5. 이 서비스 계정에 프로젝트에 대한 액세스 권한 부여 섹션에서 다음을 수행합니다.
    1. 역할 선택을 클릭합니다.
    2. 스토리지 객체 관리자를 검색하고 선택합니다.
    3. + 다른 역할 추가를 클릭합니다.
    4. Cloud Run 호출자를 검색하여 선택합니다.
    5. + 다른 역할 추가를 클릭합니다.
    6. Cloud Functions 호출자를 검색하여 선택합니다.
  6. 계속을 클릭합니다.
  7. 완료를 클릭합니다.

이러한 역할은 다음 작업에 필요합니다.

  • 스토리지 객체 관리자: Cloud Storage 버킷에 로그를 쓰고 상태 파일을 관리합니다.
  • Cloud Run 호출자: Pub/Sub가 함수를 호출하도록 허용
  • Cloud Functions 호출자: 함수 호출 허용

Cloud Storage 버킷에 대한 IAM 권한 부여

서비스 계정에 Cloud Storage 버킷에 대한 쓰기 권한을 부여합니다.

  1. Cloud Storage > 버킷으로 이동합니다.
  2. 버킷 이름을 클릭합니다.
  3. 권한 탭으로 이동합니다.
  4. 액세스 권한 부여를 클릭합니다.
  5. 다음 구성 세부정보를 제공합니다.
    • 주 구성원 추가: 서비스 계정 이메일(citrix-monitor-collector-sa@PROJECT_ID.iam.gserviceaccount.com)을 입력합니다.
    • 역할 할당: 스토리지 객체 관리자를 선택합니다.
  6. 저장을 클릭합니다.

Pub/Sub 주제 만들기

Cloud Scheduler가 게시하고 Cloud Run 함수가 구독할 Pub/Sub 주제를 만듭니다.

  1. Google Cloud 콘솔에서 Pub/Sub > 주제로 이동합니다.
  2. 주제 만들기를 클릭합니다.
  3. 다음 구성 세부정보를 제공합니다.
    • 주제 ID: citrix-monitor-trigger를 입력합니다.
    • 다른 설정은 기본값으로 둡니다.
  4. 만들기를 클릭합니다.

로그를 수집하는 Cloud Run 함수 만들기

Cloud Run 함수는 Cloud Scheduler의 Pub/Sub 메시지에 의해 트리거되어 Citrix Monitor Service OData API에서 로그를 가져와 Cloud Storage에 기록합니다.

  1. Google Cloud 콘솔에서 Cloud Run으로 이동합니다.
  2. 서비스 만들기를 클릭합니다.
  3. 함수(인라인 편집기를 사용하여 함수 만들기)를 선택합니다.
  4. 구성 섹션에서 다음 구성 세부정보를 제공합니다.

    설정 값
    서비스 이름 citrix-monitor-collector
    리전 Cloud Storage 버킷과 일치하는 리전(예: us-central1)을 선택합니다.
    런타임 Python 3.12 이상을 선택합니다.
  5. 트리거(선택사항) 섹션에서 다음을 수행합니다.

    1. + 트리거 추가를 클릭합니다.
    2. Cloud Pub/Sub를 선택합니다.
    3. Cloud Pub/Sub 주제 선택에서 주제(citrix-monitor-trigger)를 선택합니다.
    4. 저장을 클릭합니다.
  6. 인증 섹션에서 다음을 구성합니다.

    1. 인증 필요를 선택합니다.
    2. Identity and Access Management(IAM)를 확인합니다.
  7. 아래로 스크롤하고 컨테이너, 네트워킹, 보안을 펼칩니다.

  8. 보안 탭으로 이동합니다.

    • 서비스 계정: 서비스 계정(citrix-monitor-collector-sa)을 선택합니다.
  9. 컨테이너 탭으로 이동합니다.

    1. 변수 및 보안 비밀을 클릭합니다.
    2. 각 환경 변수에 대해 + 변수 추가를 클릭합니다.
    변수 이름 예시 값
    GCS_BUCKET citrix-monitor-logs
    GCS_PREFIX citrix_monitor
    STATE_KEY citrix_monitor/state.json
    CITRIX_CLIENT_ID your-client-id
    CITRIX_CLIENT_SECRET your-client-secret
    CITRIX_CUSTOMER_ID your-customer-id
    API_BASE https://api.cloud.com
    ENTITIES Machines,Sessions,Connections,Applications,Users
    PAGE_SIZE 1000
    LOOKBACK_MINUTES 75
    USE_TIME_FILTER true
  10. 변수 및 보안 비밀 탭에서 요청까지 아래로 스크롤합니다.

    • 요청 제한 시간: 600초(10분)를 입력합니다.
  11. 컨테이너의 설정 탭으로 이동합니다.

    • 리소스 섹션에서 다음을 수행합니다.
      • 메모리: 512MiB 이상을 선택합니다.
      • CPU: 1을 선택합니다.
    • 완료를 클릭합니다.
  12. 실행 환경까지 아래로 스크롤합니다.

    • 기본(권장)을 선택합니다.
  13. 버전 확장 섹션에서 다음을 수행합니다.

    • 최소 인스턴스 수: 0를 입력합니다.
    • 최대 인스턴스 수: 100을 입력하거나 예상 부하에 따라 조정합니다.
  14. 만들기를 클릭합니다.

  15. 서비스가 생성될 때까지 기다립니다(1~2분).

  16. 서비스가 생성되면 인라인 코드 편집기가 자동으로 열립니다.

함수 코드 추가

  1. 함수 진입점 필드에 main을 입력하세요.
  2. 인라인 코드 편집기에서 다음 두 파일을 만듭니다.

    • main.py:

      import functions_framework
      from google.cloud import storage
      import json
      import os
      import urllib3
      from datetime import datetime, timedelta, timezone
      import uuid
      import time
      
      # Citrix Cloud OAuth2 endpoint template
      TOKEN_URL_TMPL = "{api_base}/cctrustoauth2/{customerid}/tokens/clients"
      DEFAULT_API_BASE = "https://api.cloud.com"
      MONITOR_BASE_PATH = "/monitorodata"
      
      # Initialize HTTP client with timeouts
      http = urllib3.PoolManager(
              timeout=urllib3.Timeout(connect=5.0, read=30.0),
              retries=False,
      )
      
      # Initialize Storage client
      storage_client = storage.Client()
      
      def http_post_form(url, data_dict):
              """POST form data to get authentication token."""
              encoded_data = urllib3.request.urlencode(data_dict)
              response = http.request(
                      'POST',
                      url,
                      body=encoded_data,
                      headers={
                              'Accept': 'application/json',
                              'Content-Type': 'application/x-www-form-urlencoded'
                      }
              )
              return json.loads(response.data.decode('utf-8'))
      
      def http_get_json(url, headers):
              """GET JSON data from API endpoint."""
              response = http.request('GET', url, headers=headers)
              if response.status == 429:
                      retry_after = int(response.headers.get('Retry-After', '10'))
                      print(f"Rate limited (429). Retrying after {retry_after}s...")
                      time.sleep(retry_after)
                      response = http.request('GET', url, headers=headers)
              if response.status != 200:
                      raise Exception(f"HTTP {response.status}: {response.data.decode('utf-8')[:500]}")
              return json.loads(response.data.decode('utf-8'))
      
      def get_citrix_token(api_base, customer_id, client_id, client_secret):
              """Get Citrix Cloud authentication token."""
              url = TOKEN_URL_TMPL.format(
                      api_base=api_base.rstrip('/'),
                      customerid=customer_id
              )
              payload = {
                      'grant_type': 'client_credentials',
                      'client_id': client_id,
                      'client_secret': client_secret
              }
              response = http_post_form(url, payload)
              return response['access_token']
      
      def build_entity_url(api_base, entity, filter_query=None, top=None):
              """Build OData URL with optional filter and pagination."""
              base = api_base.rstrip('/') + MONITOR_BASE_PATH + '/' + entity
              params = []
              if filter_query:
                      encoded_filter = urllib3.request.urlencode({'$filter': filter_query})[9:]
                      params.append('$filter=' + encoded_filter)
              if top:
                      params.append('$top=' + str(top))
              return base + ('?' + '&'.join(params) if params else '')
      
      def fetch_entity_rows(entity, start_iso=None, end_iso=None, page_size=1000, headers=None, api_base=DEFAULT_API_BASE):
              """Fetch entity data with optional time filtering and OData pagination."""
              first_url = None
              if start_iso and end_iso:
                      filter_query = f"(ModifiedDate ge {start_iso} and ModifiedDate lt {end_iso})"
                      first_url = build_entity_url(api_base, entity, filter_query, page_size)
              else:
                      first_url = build_entity_url(api_base, entity, None, page_size)
      
              url = first_url
              while url:
                      try:
                              data = http_get_json(url, headers)
                              items = data.get('value', [])
                              for item in items:
                                      yield item
                              url = data.get('@odata.nextLink')
                      except Exception as e:
                              if 'Bad Request' in str(e) and start_iso and end_iso:
                                      print(f"ModifiedDate filter not supported for {entity}, falling back to unfiltered query")
                                      url = build_entity_url(api_base, entity, None, page_size)
                                      start_iso = None
                                      end_iso = None
                                      continue
                              else:
                                      raise
      
      def load_state(bucket, key):
              """Read the last processed timestamp from GCS state file."""
              try:
                      blob = bucket.blob(key)
                      if blob.exists():
                              content = blob.download_as_text()
                              state = json.loads(content)
                              timestamp_str = state.get('last_hour_utc')
                              if timestamp_str:
                                      return datetime.fromisoformat(timestamp_str.replace('Z', '+00:00')).replace(tzinfo=None)
              except Exception as e:
                      print(f"Warning: Could not load state: {str(e)}")
              return None
      
      def save_state(bucket, key, dt_utc):
              """Write the current processed timestamp to GCS state file."""
              state = {'last_hour_utc': dt_utc.isoformat() + 'Z'}
              blob = bucket.blob(key)
              blob.upload_from_string(
                      json.dumps(state, separators=(',', ':')),
                      content_type='application/json'
              )
      
      def write_ndjson_to_gcs(bucket, key, rows):
              """Write rows as NDJSON to GCS."""
              body_lines = []
              for row in rows:
                      json_line = json.dumps(row, separators=(',', ':'), ensure_ascii=False)
                      body_lines.append(json_line)
              body = '\n'.join(body_lines) + '\n'
              blob = bucket.blob(key)
              blob.upload_from_string(body, content_type='application/x-ndjson')
      
      @functions_framework.cloud_event
      def main(cloud_event):
              """
              Cloud Run function triggered by Pub/Sub to fetch Citrix Monitor Service logs and write to GCS.
      
              Args:
                      cloud_event: CloudEvent object containing Pub/Sub message
              """
      
              # Get environment variables
              bucket_name = os.environ.get('GCS_BUCKET')
              prefix = os.environ.get('GCS_PREFIX', 'citrix_monitor').strip('/')
              state_key = os.environ.get('STATE_KEY') or f"{prefix}/state.json"
              customer_id = os.environ.get('CITRIX_CUSTOMER_ID')
              client_id = os.environ.get('CITRIX_CLIENT_ID')
              client_secret = os.environ.get('CITRIX_CLIENT_SECRET')
              api_base = os.environ.get('API_BASE', DEFAULT_API_BASE)
              entities = [e.strip() for e in os.environ.get('ENTITIES', 'Machines,Sessions,Connections,Applications,Users').split(',') if e.strip()]
              page_size = int(os.environ.get('PAGE_SIZE', '1000'))
              lookback_minutes = int(os.environ.get('LOOKBACK_MINUTES', '75'))
              use_time_filter = os.environ.get('USE_TIME_FILTER', 'true').lower() == 'true'
      
              if not all([bucket_name, customer_id, client_id, client_secret]):
                      print('Error: Missing required environment variables')
                      return
      
              try:
                      # Get GCS bucket
                      bucket = storage_client.bucket(bucket_name)
      
                      # Time window calculation
                      now = datetime.utcnow()
                      fallback_hour = (now - timedelta(minutes=lookback_minutes)).replace(minute=0, second=0, microsecond=0)
                      last_processed = load_state(bucket, state_key)
                      target_hour = (last_processed + timedelta(hours=1)) if last_processed else fallback_hour
                      start_iso = target_hour.isoformat() + 'Z'
                      end_iso = (target_hour + timedelta(hours=1)).isoformat() + 'Z'
      
                      # Authentication
                      token = get_citrix_token(api_base, customer_id, client_id, client_secret)
                      headers = {
                              'Authorization': f'CWSAuth bearer={token}',
                              'Citrix-CustomerId': customer_id,
                              'Accept': 'application/json',
                              'Accept-Encoding': 'gzip, deflate, br',
                              'User-Agent': 'citrix-monitor-gcs-collector/1.0'
                      }
      
                      total_records = 0
      
                      # Process each entity type
                      for entity in entities:
                              rows_batch = []
                              try:
                                      entity_generator = fetch_entity_rows(
                                              entity=entity,
                                              start_iso=start_iso if use_time_filter else None,
                                              end_iso=end_iso if use_time_filter else None,
                                              page_size=page_size,
                                              headers=headers,
                                              api_base=api_base
                                      )
      
                                      for row in entity_generator:
                                              rows_batch.append(row)
      
                                              # Write in batches to avoid memory issues
                                              if len(rows_batch) >= 1000:
                                                      gcs_key = f"{prefix}/{entity}/year={target_hour.year:04d}/month={target_hour.month:02d}/day={target_hour.day:02d}/hour={target_hour.hour:02d}/part-{uuid.uuid4().hex}.ndjson"
                                                      write_ndjson_to_gcs(bucket, gcs_key, rows_batch)
                                                      total_records += len(rows_batch)
                                                      rows_batch = []
      
                              except Exception as ex:
                                      print(f"Error processing entity {entity}: {str(ex)}")
                                      continue
      
                              # Write remaining records
                              if rows_batch:
                                      gcs_key = f"{prefix}/{entity}/year={target_hour.year:04d}/month={target_hour.month:02d}/day={target_hour.day:02d}/hour={target_hour.hour:02d}/part-{uuid.uuid4().hex}.ndjson"
                                      write_ndjson_to_gcs(bucket, gcs_key, rows_batch)
                                      total_records += len(rows_batch)
      
                      # Update state file
                      save_state(bucket, state_key, target_hour)
      
                      print(f"Successfully processed {total_records} records for hour {start_iso}")
                      print(f"Entities processed: {', '.join(entities)}")
      
              except Exception as e:
                      print(f'Error processing Citrix Monitor logs: {str(e)}')
                      raise
      

    • requirements.txt:

      functions-framework==3.*
      google-cloud-storage==2.*
      urllib3>=2.0.0
      
  3. 배포를 클릭하여 함수를 저장하고 배포합니다.

  4. 배포가 완료될 때까지 기다립니다(2~3분).

Cloud Scheduler 작업 만들기

Cloud Scheduler는 정기적으로 Pub/Sub 주제에 메시지를 게시하여 Cloud Run 함수를 트리거합니다.

  1. Google Cloud 콘솔에서 Cloud Scheduler로 이동합니다.
  2. 작업 만들기를 클릭합니다.
  3. 다음 구성 세부정보를 제공합니다.

    설정 값
    이름 citrix-monitor-collector-hourly
    리전 Cloud Run 함수와 동일한 리전 선택
    주파수 0 * * * *(매시간 정각)
    시간대 시간대 선택(UTC 권장)
    타겟 유형 Pub/Sub
    주제 주제(citrix-monitor-trigger)를 선택합니다.
    메일 본문 {}(빈 JSON 객체)
  4. 만들기를 클릭합니다.

통합 테스트

  1. Cloud Scheduler 콘솔에서 작업을 찾습니다.
  2. 강제 실행을 클릭하여 작업을 수동으로 트리거합니다.
  3. 몇 초 동안 기다립니다.
  4. Cloud Run > 서비스로 이동합니다.
  5. 함수 이름(citrix-monitor-collector)을 클릭합니다.
  6. 로그 탭을 클릭합니다.
  7. 함수가 성공적으로 실행되었는지 확인합니다. 다음 항목을 찾습니다.

    Successfully processed X records for hour YYYY-MM-DDTHH:MM:SSZ
    Entities processed: Machines, Sessions, Connections, Applications, Users
    
  8. Cloud Storage > 버킷으로 이동합니다.

  9. 버킷 이름을 클릭합니다.

  10. 접두사 폴더(citrix_monitor/)로 이동합니다.

  11. 새 .ndjson 파일이 생성되었는지 확인합니다.

로그에 오류가 표시되는 경우:

  • HTTP 401: 환경 변수에서 API 사용자 인증 정보 확인
  • HTTP 403: Citrix Cloud 계정에 관리자 권한이 있는지 확인합니다.
  • HTTP 429: 비율 제한 - 함수가 백오프를 사용하여 자동으로 재시도합니다.
  • 환경 변수 누락: 모든 필수 변수가 설정되어 있는지 확인합니다.

Citrix Monitor Service 로그를 수집하도록 Google SecOps에서 피드 구성

  1. 설정 > 데이터 관리 > 피드로 이동합니다. SIEM 전용 플랫폼을 사용하는 경우 설정 > 피드로 이동합니다.
  2. 새 피드 추가를 클릭합니다.
  3. 단일 피드 구성을 클릭합니다.
  4. 피드 이름 필드에 피드 이름을 입력합니다(예: Citrix Monitor Service logs).
  5. 소스 유형으로 Google Cloud Storage V2를 선택합니다.
  6. 로그 유형으로 Citrix Monitor를 선택합니다.
  7. 서비스 계정 가져오기를 클릭합니다. 고유한 서비스 계정 이메일이 표시됩니다. 예를 들면 다음과 같습니다.

    chronicle-12345678@chronicle-gcp-prod.iam.gserviceaccount.com
    
  8. 이 이메일 주소를 복사합니다. 다음 단계에서 사용합니다.

  9. 다음을 클릭합니다.

  10. 다음 입력 파라미터의 값을 지정합니다.

    • 스토리지 버킷 URL: 프리픽스 경로가 있는 Cloud Storage 버킷 URI를 입력합니다.

      gs://citrix-monitor-logs/citrix_monitor/
      
      • 다음과 같이 바꿉니다.
        • citrix-monitor-logs: Cloud Storage 버킷 이름입니다.
        • citrix_monitor: 로그가 저장되는 선택적 프리픽스/폴더 경로입니다(루트의 경우 비워 둠).
    • 소스 삭제 옵션: 환경설정에 따라 삭제 옵션을 선택합니다.

      • 삭제 안함: 전송 후 파일을 삭제하지 않습니다(테스트에 권장).
      • 전송된 파일 삭제: 전송이 완료된 후 파일을 삭제합니다.
      • 전송된 파일 및 빈 디렉터리 삭제: 전송이 완료된 후 파일과 빈 디렉터리를 삭제합니다.
    • 최대 파일 기간: 지난 며칠 동안 수정된 파일을 포함합니다. 기본값은 180일입니다.

    • 애셋 네임스페이스: 애셋 네임스페이스입니다.

    • 수집 라벨: 이 피드의 이벤트에 적용할 라벨입니다.

  11. 다음을 클릭합니다.

  12. 확정 화면에서 새 피드 구성을 검토한 다음 제출을 클릭합니다.

Google SecOps 서비스 계정에 IAM 권한 부여

Google SecOps 서비스 계정에는 Cloud Storage 버킷에 대한 스토리지 객체 뷰어 역할이 필요합니다.

  1. Cloud Storage > 버킷으로 이동합니다.
  2. 버킷 이름을 클릭합니다.
  3. 권한 탭으로 이동합니다.
  4. 액세스 권한 부여를 클릭합니다.
  5. 다음 구성 세부정보를 제공합니다.
    • 주 구성원 추가: Google SecOps 서비스 계정 이메일을 붙여넣습니다.
    • 역할 할당: 스토리지 객체 뷰어를 선택합니다.
  6. 저장을 클릭합니다.

UDM 매핑 테이블

로그 필드 UDM 매핑 로직
additional_user_id_label additional.fields 병합됨
CreatedDate metadata.event_timestamp ISO8601(으)로 파싱됨
event_type metadata.event_type 직접 매핑됨
label_Connection_State metadata.ingestion_labels 병합됨
label_Log_On_Duration metadata.ingestion_labels 병합됨
label_Session_Key metadata.ingestion_labels 병합됨
Machine.AgentVersion metadata.product_version 직접 매핑됨
Machine.DnsName network.dns_domain 직접 매핑됨
applicationInstance.Application.BrowserName network.http.user_agent 직접 매핑됨
CurrentConnectionId network.session_id 직접 매핑됨
Machine.HostedMachineName principal.administrative_domain 직접 매핑됨
Machine.Id principal.asset.asset_id 직접 매핑됨
MachineId principal.asset.asset_id 직접 매핑됨
Machine.HostingServerName principal.hostname 직접 매핑됨
Machine.IPAddress principal.ip 병합됨
connection.ClientAddress principal.ip 병합됨
connection.ConnectedViaIPAddress principal.ip 병합됨
user principal.user.email_addresses 매핑됨: ^.+@.+$ → user
Machine.AssociatedUserFullNames principal.user.user_display_name 직접 매핑됨
Machine.Sid principal.user.windows_sid 직접 매핑됨
User.Domain target.administrative_domain 직접 매핑됨
applicationInstance.Application.Name target.application 직접 매핑됨
connection.LaunchedViaIPAddress target.ip 병합됨
applicationInstance.Application.Path target.process.file.full_path 직접 매핑됨
Machine.Hash target.process.file.md5 직접 매핑됨
applicationInstance.Application.AdminFolder target.process.parent_process.file.full_path 직접 매핑됨
User.Upn target.user.email_addresses 병합됨
User.FullName target.user.user_display_name 직접 매핑됨
User.UserName target.user.userid 직접 매핑됨
User.Sid target.user.windows_sid 직접 매핑됨
해당 사항 없음 metadata.event_type 상수: GENERIC_EVENT
해당 사항 없음 metadata.product_name 상수: CITRIX_MONITOR
해당 사항 없음 metadata.vendor_name 상수: CITRIX_MONITOR
해당 사항 없음 target.platform 상수: WINDOWS

변경 로그

이 파서의 변경 로그 보기

도움이 더 필요하신가요? 커뮤니티 회원 및 Google SecOps 전문가에게 문의하여 답변을 받으세요.