---
name: "buf-stats"
section: "1"
platform: "linux"
package: "buf"
version: "1.75.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/buf-stats"
---

# buf-stats(1)

Get statistics for a given source or module

## NAME

buf-stats - Get statistics for a given source or module

## SYNOPSIS

**buf stats  \[flags\]**

## DESCRIPTION

The first argument is the source or module to get statistics for, which must be one of format \[dir,git,mod,protofile,tar,zip\]. This defaults to "." if no argument is specified.

## OPTIONS

**--disable-symlinks**\[=false\]\
 	Do not follow symlinks when reading sources or configuration from the local filesystem By default, symlinks are followed in this CLI, but never followed on the Buf Schema Registry

**--format**="text"\
 	The output format to use. Must be one of \[text,json\]

**-h**, **--help**\[=false\]\
 	help for stats

## OPTIONS INHERITED FROM PARENT COMMANDS

**--debug**\[=false\]\
 	Turn on debug logging (env BUF\_DEBUG)

**--log-format**="color"\
 	The log format text,color,json ⟨env BUF\_LOG\_FORMAT⟩

**--timeout**=0s\
 	The duration until timing out, setting it to 0 means no timeout (env BUF\_TIMEOUT)

## SEE ALSO

**[buf(1)](/buf/1.md)**

## HISTORY

2026-10-22 Auto generated by spf13/cobra
