mirror of
https://github.com/akvorado/akvorado.git
synced 2025-12-11 22:14:02 +01:00
console: use Dst1stAS/Dst2ndAS/Dst3rdAS/DstASPath
DstASPath is not available in filters.
This commit is contained in:
@@ -45,6 +45,9 @@ func TestQueryColumnSQLSelect(t *testing.T) {
|
||||
}, {
|
||||
Input: queryColumnDstAS,
|
||||
Expected: `concat(toString(DstAS), ': ', dictGetOrDefault('asns', 'name', DstAS, '???'))`,
|
||||
}, {
|
||||
Input: queryColumnDst2ndAS,
|
||||
Expected: `concat(toString(Dst2ndAS), ': ', dictGetOrDefault('asns', 'name', Dst2ndAS, '???'))`,
|
||||
}, {
|
||||
Input: queryColumnProto,
|
||||
Expected: `dictGetOrDefault('protocols', 'name', Proto, '???')`,
|
||||
@@ -60,6 +63,9 @@ func TestQueryColumnSQLSelect(t *testing.T) {
|
||||
}, {
|
||||
Input: queryColumnPacketSizeBucket,
|
||||
Expected: `PacketSizeBucket`,
|
||||
}, {
|
||||
Input: queryColumnDstASPath,
|
||||
Expected: `arrayStringConcat(DstASPath, ' ')`,
|
||||
},
|
||||
}
|
||||
for _, tc := range cases {
|
||||
|
||||
Reference in New Issue
Block a user