We've signed off on these demos conceptually. The next step is for them to be implemented and all blocking engineering work needs to be enumerated and solved.
11 lines
No EOL
507 B
PowerShell
11 lines
No EOL
507 B
PowerShell
# Get-Mongostat
|
|
# Get mongodb statistics with parsed JSON
|
|
|
|
# journalctl is a native tool to emit SystemD's journal, which includes diagnostic info pertaining to SystemD services
|
|
# Show-JournalCtl
|
|
# Given journalctl parameters, run journalctl with a -o json to emit JSON, e.g. journalctl $Parameters -o json --no-pager
|
|
# Return structured data from Journal
|
|
|
|
# Demo execution
|
|
# Show journatcl example
|
|
# Using Where & Sort, filter journal output to drill into a specific problem (e.g. service failed to start) |