github.com/observiq/bindplane-agent@v1.51.0/config/google_cloud_exporter/filelog/README.md (about)

     1  # File Logging with Google Cloud
     2  
     3  The Filelog receiver can be used to read log files and send the entries to Google Cloud Logging.
     4  
     5  ## Limitations
     6  
     7  The agent must be installed on the target system. The user running the agent must have permission to read the files targeted by the Filelog receiver's configuration.
     8  
     9  ## Prerequisites
    10  
    11  See the [prerequisites](../README.md) doc for Google Cloud prerequisites.
    12  
    13  ## Examples
    14  
    15  **Raw log file**
    16  
    17  Filelog can read raw log files (without parsing) and forward to Google Cloud Logging. This a
    18  basic implementation. Generally, you will want to parse the log entries in order to make searching
    19  easier within Google Cloud Logging.
    20  
    21  See [config.yaml](./config.yaml).
    22  
    23  **Regex**
    24  
    25  Filelog can read raw log files, parse them with regex, and forward to Google Cloud Logging.
    26  
    27  See [config_regex.yaml](./config_regex.yaml) for an example using Redis.
    28  
    29  **Json**
    30  
    31  Filelog can read raw log files, parse them as json, and forward to Google Cloud Logging.
    32  
    33  See [config_json.yaml](./config_json.yaml) for an example using arbitrary json.