Skip to main content

along Metrics Statement

The along metrics statement is useful when you join queries. It allows you to control what results are joined based on the value of one or more result fields. For more information, see Join Metrics Queries.

Syntax​

<expression> [along <field>[, <field>, …]]

Examples​

Queries #A and #B return the Net_InBytes and Net_OutBytes metrics with the assigned account and averaged over account. Query #C calculates the difference of the pairs of time series from #A and #B whose account value matches.

#A: metric=Net_InBytes account=* | avg by account

#B: metric=Net_OutBytes account=* | avg by account

#C: #B - #A along account

Along example
Legal
Privacy Statement
Terms of Use
CA Privacy Notice

© 2010 – 2026 Sumo Logic, Inc.