in reply to Re^2: Time series normalization
in thread Time series normalization
Perhaps I'm not understanding, but inserting undefs for missing values doesn't seem that bad. To ensure a value for each host/timestamp pair, you have two options:
$VAR1 = '08:03'; $VAR2 = { 'host3' => 4, 'host2' => 4, 'host1' => 4 }; $VAR3 = '08:02'; $VAR4 = { 'host3' => undef, 'host2' => 3, 'host1' => 3 }; $VAR5 = '08:01'; $VAR6 = { 'host3' => undef, 'host2' => 2, 'host1' => 2 }; $VAR7 = '08:00'; $VAR8 = { 'host3' => 1, 'host2' => undef, 'host1' => 1 };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Time series normalization
by 0xbeef (Hermit) on Jul 16, 2009 at 18:37 UTC | |
by jrsimmon (Hermit) on Jul 16, 2009 at 19:00 UTC |