Chris Sewell
Chris Sewell

Reputation: 1165

How do you create a namespace in AWS CloudWtach

I'm trying to create a namespace for metric reporting in AWS CloudWatch but can't find any documentation or interface that allows me to specifically do this so I can then later create metrics and dimensions.

Upvotes: 4

Views: 9551

Answers (1)

Sergei Rodionov
Sergei Rodionov

Reputation: 4529

The namespace is automatically created when you insert custom metrics. Caveat, we've only tried a naming convention that mirrors AWS, e.g. Type/Service.

http://aws-cloudwatch.s3.amazonaws.com/downloads/CloudWatchMonitoringScripts-1.2.1.zip

my %params = ();
$params{'Input'} = {};
my $input_ref = $params{'Input'}; 
$input_ref->{'Namespace'} = "System/Linux";

Upvotes: 6

Related Questions