Getting Data In

Universal ForwarderのCPU使用率が非常に高い

cwl
Contributor

4.3.3のUniversal Forwarderを使っているが、特定の環境だけUniversal Forwarderの起動後に2時間が経っても、CPUの使用率が42%のままでした。

何故、Universal ForwarderはそんなにCPUリソースを使っているでしょうか。

Tags (3)
0 Karma
1 Solution

cwl
Contributor

inputs.confに「followTail」が有効になっている(followTail=true)場合、モニター対象のフォルダに大量のファイルがある場合、Universal ForwarderでもCPUの使用率が高くなることがあります。

回避策としては、「followTail」の代わりに「ignoreOlderThan」を使用することです。

また、「followTail」使用時の注意点については以下のAnswersに記載がありますので、あわせて確認してください。

http://splunk-base.splunk.com/answers/57819/when-is-it-appropriate-to-set-followtail-to-true

View solution in original post

cwl
Contributor

inputs.confに「followTail」が有効になっている(followTail=true)場合、モニター対象のフォルダに大量のファイルがある場合、Universal ForwarderでもCPUの使用率が高くなることがあります。

回避策としては、「followTail」の代わりに「ignoreOlderThan」を使用することです。

また、「followTail」使用時の注意点については以下のAnswersに記載がありますので、あわせて確認してください。

http://splunk-base.splunk.com/answers/57819/when-is-it-appropriate-to-set-followtail-to-true

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...