Skip to main content

mac-configure-source-template

In this step, you will configure the YAML required for Mac Collection. Below are the inputs required for configuration:

  • Name. Name of the source template.
  • Description. Description for the source template.

Logs collection

  • Fields/Metadata. You can provide any customer fields to be tagged with the data collected. By default, sumo tags _sourceCategory with the value otel/mac.
  • Logs. The following fields are pre-populated with default paths for common log files that are used in different Mac distributions. Not all paths might be relevant for your operating system. Modify the list of files as required or leave the default values.

Metrics collection

  • Metrics. Select the metric scrappers you want to enable. By default, metric collection for memory, load, file system, network and paging are enabled and process metric collection is disabled.
Enable process metric collection (Optional)

By default, the collector will not send process metrics to Sumo Logic. This is because the number of processes running on a host can be very large, which would result in a significant increase in Data Points per Minute (DPM).

Click the Enable process metric collection checkbox to collect process-level metrics.

  • Name of process. Add the list of process names.
  • Include/Exclude the above pattern. Signifies if you want to exclude or include the metrics for the processes listed previously.
  • Match type for process name. Select if the process name given should be considered for a strict match with the host machine processes or if it should be considered as regex when matching.
    process-metric-collection
note

If you need to edit the process list in the future, you can do this manually in the OTEL config yaml by adding or removing in the names list under process scrapper.

process:
  include:
    names: [ <process name1>, <process name2> ... ]
    match_type: <strict|regexp>
  • Scan Interval. The frequency at which the source is scanned.
  • Processing Rules. You can add processing rules for logs/metrics collected. To learn more, refer to Processing Rules.
Status
Legal
Privacy Statement
Terms of Use
CA Privacy Notice

Copyright © 2026 by Sumo Logic, Inc.