Logship Documentation
  • Install Logship
  • Prerequisites
  • Push Your First Event
  • Query your first event
  • Collect MQTT messages
  • Deployment and automation guides
  • Next steps
  • Logship Database
  • Install
  • Database Configuration
  • Blob storage durability
  • Certificate authentication
  • Identity providers and SSO
  • Indexed file V5 encodings
  • Table declarations and blob references
  • Logship Agent
  • Monitor your first machine
  • Install the Logship Agent
  • Config
  • Platform Guides
    • Install the Logship Agent as a Windows service
    • Run the agent as a Linux service
    • Run the agent on OpenWrt
    • Run the agent with Docker
  • Wireless activity collection
  • Overview
  • Install logsh
  • Terminal UI (logsht)
  • Overview
  • Install
  • Frontend Configuration
  • System Settings
  • Account Settings
  • OpenID Connect sign-in
  • Grafana Datasource Plugin
  • Dashboards
  • Public query embeds
  • Operations
  • Administration Account
  • Work through a test incident
  • Incident Management
  • Group Management
  • Set up and test a group
  • Security
    • Firewall & Network Hardening
    • Token revocation
  • Back up, upgrade and recover Logship
  • Provision users and persist data
  • Basics
  • Language
    • Functions
      • Aggregate Functions
        • Agg Avg
        • Agg Expavg
        • Agg Max
        • Agg Min
        • Argmax
        • Argmin
        • Avg
        • Count
        • Dcount
        • First
        • Join
        • Make List
        • Make Set
        • Percentile
        • percentiles
        • Stdev
        • Sum
        • Variance
      • Scalar Functions
        • Abs
        • Acos
        • Acos2
        • Ago
        • Asin
        • Asin2
        • Atan
        • Atan2
        • Bin
        • Blob Url
        • Case
        • Ceil
        • Coalesce
        • Concat
        • Cos
        • Countof
        • Datetime Add
        • Datetime Diff
        • Datetime Part
        • Datetime Utc To Local
        • Degrees
        • Exp
        • Extract
        • Floor
        • Format Datetime
        • Geo Linestring
        • Geo Point
        • Geo Polygon
        • Hash
        • Iff
        • Indexof
        • Isempty
        • Isnotempty
        • Isnull
        • Json
        • Log
        • Log10
        • Log2
        • Math
        • Max
        • Min
        • Newid
        • Now
        • Pack Array
        • Parse Json
        • Pi
        • Pow
        • Prev
        • Radians
        • Rand
        • Round
        • Sign
        • Sin
        • Split
        • Sqrt
        • Str
        • String Transform
        • Strlen
        • Substring
        • Tan
        • Todatetime
        • Todouble
        • Toguid
        • Toint
        • Toreal
        • Tostring
        • Trim
        • Trim End
        • Trim Start
        • Type Conversion
    • Management Commands
      • .create table
      • .create-merge table
      • .drop column
      • .drop table
      • .show table
      • .show tables
      • .truncate table
      • Table retention policy
    • Tabular Operators
      • Count
      • Datatable
      • Distinct
      • Extend
      • Join
      • Limit
      • Make-Streams
      • multi-project
      • Parse
      • Project
      • Range
      • Render
      • Sort
      • Summarize
      • Table
      • Take
      • Time-Bound
      • Union
      • Where Filter
    • Chart settings reference
    • Expressions
    • Types
  • Multiple query results
  • Query

Aggregate Functions

Aggregate functions reduce a set of rows to summary values such as counts, totals, averages, or percentiles. Use them with summarize to calculate results across a whole dataset or separately for each group. Each page explains the inputs and the result produced by the function.

Pages

Agg Avg

Agg Expavg

Agg Max

Agg Min

Argmax

Argmin

Avg

Count

Dcount

First

Join

Make List

Make Set

Percentile

percentiles

Stdev

Sum

Variance