---
sourceDocument: Australia IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/it-operations-management

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Configure Osqueryd schedule for SAM total usage metrics

# Configure Osqueryd schedule for SAM total usage metrics {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

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.

## Vorbereitungen

Role required: admin

## Prozedur

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"
         }
        
## Ergebnisse

You can now [Configure Osquery
logs for SAM total usage metrics](https://servicenow-prod.fluidtopics.net/iwFXs9CkTr1r6NrX38sBPQ "By default, Osquery supports log rotation based on size. To enable it for SAM total usage metrics and to configure the log size and rotation, you need to add specific flags for Osqueryd service.").

