Skip to content

Fields

Pre-release
Pre-release
Compare
Choose a tag to compare
@elithrar elithrar released this 22 Aug 04:43
· 23 commits to master since this release

Support the new --fields option, which allows specifying the fields to be returned in each log-line.

e.g.

logshare-cli --api-email=$CF_API_EMAIL --api-key=$CF_API_KEY \
  --zone-name=$CF_ZONE_NAME --start-time=`hours-ago 1` \
  --end-time=`mins-ago 10` --count=2 \
  --fields=RayID,ClientIP --by-received