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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...