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!

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...