Configure Osqueryd schedule for SAM total usage metrics

  • Versão de lançamento: Australia
  • Atualizado 12 de mar. de 2026
  • 1 min. de leitura
  • SAM total usage metrics works by relying on the Osqueryd service running on the target host. Configure the Osqueryd service to run the required schedule Osquery on the host.

    Antes de Iniciar

    Role required: admin

    Procedimento

    1. Navigate to Osqueryd installation folder.
    2. Find and edit the osquery.conf file.
    3. Add the below Osquery pack under the packs keyword.
      For Windows:
      "packs": {
            "sam-metering": "C:\\ProgramData\\ServiceNow\\agent-client-collector\\cache\\acc-visibility-modules\\bin\\sam-metering.conf"
        }
      
      For macOS:
      "packs": {
          "sam-metering": "/Library/Application\ Support/servicenow/agent-client-collector/cache/acc-visibility-modules/bin/sam-metering.conf"
        }
       

    Resultado

    You can now Configure Osquery logs for SAM total usage metrics.