# namespaces

The namespaces command is used to manage namespaces.


# list

List all the namespaces.

terminal
baselime namespaces list

# Options

  • --dataset: Dataset
  • --from: UTC start time - may also be relative eg: 1h, 20mins
  • --to: UTC end time - may also be relative eg: 1h, 20mins, now

# Examples

# Example 1: Listing all namespaces for the past 2 hours

Command:

terminal
baselime namespaces list --dataset logs --from 2hours --to now

Output:

output
✔ Fetching your namespaces
╔═════════════════════════════╤═════════════════════════╗
║ Namespace                   │ Last ingested           ║
╟─────────────────────────────┼─────────────────────────╢
║ namspace_1                  │ 2022-05-23 10:25:37.364 ║
╟─────────────────────────────┼─────────────────────────╢
║ namspace_2                  │ 2022-05-23 10:20:33.081 ║
╚═════════════════════════════╧═════════════════════════╝
✨ 2 namespaces