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.