CloudLoggingData

CloudLoggingData[]

gives summary logging data for all your cloud objects.

CloudLoggingData[category]

gives summary logging data for all your cloud objects of a particular category.

CloudLoggingData[obj]

gives summary logging data for the cloud object obj.

CloudLoggingData[{obj1,}]

gives aggregated summary logging data for all the objects obji.

CloudLoggingData[objs,period]

gives summary logging data for the specified period.

CloudLoggingData[objs,period,elems]

gives logging data elements specified by elems.

Details and Options

  • Possible periods include:
  • "LastMinute"previous minute
    "LastHour"hour ending with now
    "LastDay"24-hour period ending with now
    "LastWeek"7-day period ending with now
    "LastMonth"30-day period ending with now
    "LastYear"year-long period ending with now
    "MonthToDate"beginning of the current calendar month to now
    "QuarterToDate"beginning of the current calendar quarter to now
    "YearToDate"beginning of the current calendar year to now
    Allall available time
    DateObject[]time from the specified date to now
    {DateObject[],DateObject[]}arbitrary range of dates
  • If no period is specified, an association is returned containing elements for "LastDay", "LastWeek", "LastMonth", and All.
  • Possible elements related to calls involving evaluation include:
  • "TotalCalls"total number of calls during the specified period
    "AverageCallRate"average rate of calls based on the specified period
    "CallRateTimeSeries"time series of the rate of calls
    "TotalCredits"total number of credits used during the period
    "AverageCreditsPerCall"average number of credits used per call
    "CalledObjectsCount"count of times each cloud object is called
    "CallDetails"list of details for every call made
  • Other options include:
  • "TimeSeriesBinSize"Automaticbin size for time series data
    MaxItemsAutomaticmax number of items that can be returned
  • Supported categories of cloud objects include APIFunction, FormFunction, Notebook, Delayed, and ScheduledTask.
  • CloudLoggingData also supports the following option:
  • CloudBaseAutomaticcloud from which to get logging data

Examples

open allclose all

Basic Examples  (1)

Get a summary of cloud object activity:

Get logging data for a recent time period:

Scope  (1)

Get a summary of APIs:

Deploy an API and use it:

Confirm its usage:

Get only the total number of calls:

Get totals for both calls and credits:

Wolfram Research (2015), CloudLoggingData, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudLoggingData.html.

Text

Wolfram Research (2015), CloudLoggingData, Wolfram Language function, https://reference.wolfram.com/language/ref/CloudLoggingData.html.

CMS

Wolfram Language. 2015. "CloudLoggingData." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/CloudLoggingData.html.

APA

Wolfram Language. (2015). CloudLoggingData. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/CloudLoggingData.html

BibTeX

@misc{reference.wolfram_2024_cloudloggingdata, author="Wolfram Research", title="{CloudLoggingData}", year="2015", howpublished="\url{https://reference.wolfram.com/language/ref/CloudLoggingData.html}", note=[Accessed: 04-October-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_cloudloggingdata, organization={Wolfram Research}, title={CloudLoggingData}, year={2015}, url={https://reference.wolfram.com/language/ref/CloudLoggingData.html}, note=[Accessed: 04-October-2024 ]}