plugins_account_s3_traffic

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetS3BandwidthUsage

func GetS3BandwidthUsage(durationBegin time.Time, durationEnd time.Time, client *elastic.Client, account, index string) *elastic.SearchService

GetS3BandwidthUsage prepared a search query to retrieve the bandwidth usage for each s3 bucket Parameters: - durationBegin and durationEnd: parameters to define the time interval - client: preconfigured elasticsearch client - account: the aws account id to use for filtering - index: the index on which the query should be executed It returns an elastic.SearchService that can be used to execute the search

func GetS3StorageUsage

func GetS3StorageUsage(durationBegin time.Time, durationEnd time.Time, client *elastic.Client, account, index string) *elastic.SearchService

GetS3StorageUsage prepared a search query to retrieve the storage usage for each s3 bucket Parameters: - durationBegin and durationEnd: parameters to define the time interval - client: preconfigured elasticsearch client - account: the aws account id to use for filtering - index: the index on which the query should be executed It returns an elastic.SearchService that can be used to execute the search

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL