Add a configurable TimeSpan parameter for Get-ClusterLog to limit log collection duration
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 76/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 静か
- 技術スタック
- powershell
- 領域
- tooling
調査の方向性
SQLLogScoutCoreModule.psm1 を開き、Get-ClusterLog の呼び出し箇所から始めて、Get-ClusterInformation() 関数を調べます。-TimeSpan 21600 を使用して、既定値を 15 日とした収集期間を構成可能にし、その後、既定では Get-ClusterLog が完全なログ履歴を取得しなくなっていることを確認します。
索引モデルが issue の本文から書いたものです。
説明
In the file SQLLogScoutCoreModule.psm1, in the GetClusterInformation() function, there is a call to Get-ClusterLog.
By default, it retrieves all existing logs.
This can represent several GB or even tens of GB of logs and takes a long time when stopping LogScout.
Would it be possible to turn this into a parameter, with a default limit of, for example, 15 days, using -TimeSpan 21600?
We had to make this modification before running LogScout in production, as our logs are simply too large not to filter them.
- 主要言語
- PowerShell
- スター
- 117
- フォーク
- 33
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/SQL_LogScout のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 38/100
microsoft/SQL_LogScout#9 · コメント 1 件 · リアクション 1 件 ·
microsoft/SQL_LogScout の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
danielmiessler/LifeOS#2218 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
hemilabs/ui-monorepo#2332 ·
-
Help-Wanted Needs-Triage Package-Update
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/winget-pkgs#438662 ·
-
priority: p3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
googleapis/librarian#7636 ·