Skip to content

Instantly share code, notes, and snippets.

@cfbarbero
Last active November 15, 2018 17:26
Show Gist options
  • Save cfbarbero/ee9d929d75d4bbabb776fb036ef7e045 to your computer and use it in GitHub Desktop.
Save cfbarbero/ee9d929d75d4bbabb776fb036ef7e045 to your computer and use it in GitHub Desktop.
# List indexes
| REST /services/data/indexes | table title, totalEventCount, currentDBSizeMB

# Count events per index
| eventcount summarize=false index=* report_size=true

# Metadata about an index
| metadata index="main" type=hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment