don't use host tag so instance are hidden from chronograf hosts view
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 22 Jan 2018 16:50:14 +0000 (17:50 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 22 Jan 2018 16:50:14 +0000 (17:50 +0100)
gnt-i

diff --git a/gnt-i b/gnt-i
index e088562..6b1dade 100755 (executable)
--- a/gnt-i
+++ b/gnt-i
@@ -220,7 +220,7 @@ foreach my $i ( 0 .. $#{ $lines->{line} } ) {
        next unless $last_lines;
 
        my $last_line = $last_lines->[$i];
-       my @c = ( 'host', ps_cols_visible );
+       my @c = ( 'instance', ps_cols_visible );
        my @influx;
        foreach my $j ( 0 .. $#$line ) {
                #push @influx, $c[$j] . '=' . $line->[$j];