github.com/observiq/carbon@v0.9.11-0.20200820160507-1b872e368a5e/docs/operators/google_cloud_output.md (about)

     1  ## `google_cloud_output` operator
     2  
     3  The `google_cloud_output` operator will send entries to Google Cloud Logging.
     4  
     5  ### Configuration Fields
     6  
     7  | Field              | Default               | Description                                                                                                |
     8  | ---                | ---                   | ---                                                                                                        |
     9  | `id`               | `google_cloud_output` | A unique identifier for the operator                                                                       |
    10  | `credentials`      |                       | The JSON-formatted credentials for the logs writer service account                                         |
    11  | `credentials_file` |                       | A path to a file containing the JSON-formatted credentials                                                 |
    12  | `project_id`       |                       | The Google Cloud project ID the logs should be sent to. Defaults to project_id found in credentials        |
    13  | `log_name_field`   |                       | A [field](/docs/types/field.md) for the log name on the entry. Log name defaults to `default` if unset     |
    14  | `severity_field`   |                       | A [field](/docs/types/field.md) for the severity on the log entry                                          |
    15  | `trace_field`      |                       | A [field](/docs/types/field.md) for the trace on the log entry                                             |
    16  | `span_id_field`    |                       | A [field](/docs/types/field.md) for the span_id on the log entry                                           |
    17  | `use_compression`  | `true`                | Whether to compress the log entry payloads with gzip before sending to Google Cloud                        |
    18  | `timeout`          | 10s                   | A [duration](/docs/types/duration.md) indicating how long to wait for the API to respond before timing out |
    19  
    20  If both `credentials` and `credentials_file` are left empty, the agent will attempt to find
    21  [Application Default Credentials](https://cloud.google.com/docs/authentication/production) from the environment.
    22  
    23  ### Example Configurations
    24  
    25  #### Simple configuration
    26  
    27  Configuration:
    28  ```yaml
    29  - type: google_cloud_output
    30    project_id: sample_project
    31    credentials_file: /tmp/credentials.json
    32  ```