nimblebox logo
Docs
v3.3.1b

nbox.lmao.cli

NimbleBox LMAO is our general purpose observability tool for any kind of computation you might have.

Classes

iconclassLmaoCLI
[source]
iconfunctionserving_logs
[source]
(project_id:None,serving_id:None,key:None,after:None,before:None,limit:None,f:None)
Parameters
  • project_id -

    ID of the project to which the serving belongs.

  • serving_id -

    ID of the serving to which the log belongs.

  • key -

    Key of the log to get.

  • after -

    Return only logs after this timestamp.

  • before -

    Return only logs before this timestamp.

  • limit -

    Maximum number of logs to return.

  • f -

    File to write logs to. If not provided, logs will be printed to stdout.

Get your logs from a serving by key and time range.

nbx lmao serving logs '229dj92' '0283-nice-summer' field 'last 12 hours'
nbx lmao serving logs '229dj92' '0283-nice-summer' field '2021-01-01' '2021-01-02'
nbx lmao serving logs '229dj92' '0283-nice-summer' field '2021-01-01 12:00:00' '2021-01-02 12:00:00'
nbx lmao serving logs '229dj92' '0283-nice-summer' field --limit 1000
nbx lmao serving logs '229dj92' '0283-nice-summer' field --limit 1000 --f logs.json
nbox SDKnbox provides built in access to all the APIs and packages them in the most user friendly manner.Star 0