Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { Username string `long:"username" description:"Your Atlas Username" required:"true"` APIKey string `long:"api_key" description:"Your Atlas API Key" required:"true"` GroupID string `long:"group_id" description:"Your Atlas Group ID" required:"true"` Clusters []string `long:"cluster" description:"Cluster to gather logs from. Maybe specified multiple times." required:"true"` APIHost string `long:"api_host" description:"Hostname for the Honeycomb API server" default:"https://api.honeycomb.io/"` WriteKey string `long:"writekey" description:"Your Honeycomb write key." required:"true"` Dataset string `long:"dataset" description:"Target Honeycomb dataset" default:"mongodb-atlas-logs"` NumParsers int `long:"num_parsers" description:"Number of parsers to use in parallel to process log lines" default:"4"` PollingInterval time.Duration `long:"polling_interval" description:"Time between each request to the Atlas API for more logs." default:"5m"` }
Click to show internal directories.
Click to hide internal directories.