Getting Data In

universal forwarder経由で取り込んだログが途中で途切れている。

mcdp_matsumoto
New Member

universal forwarder経由で取り込んだログが途中で途切れてしまいます。
一行約4050文字でログの取り込みをやめてしまうようです。

そのログは一行一行がとても長いです。
splunkに行の最後まで読み込ませたいのです。
何か方法はありますか。

Google Translate:
Logs imported via universal forwarder are cut off halfway.
It seems that it stopped fetching the log with about 4050 characters per line.

One line of that log is very long.
I want to make splunk read until the end of the line.
Is there any way?

0 Karma

nickhills
Ultra Champion

This can happen with character sets which use more bytes per character.

The default truncation limit is 10,000 bytes, which could be why you are seeing the truncation after approx 50% of the length.
Try setting TRUNCATE to a larger value in props.conf for your relevant sourcetype.
https://docs.splunk.com/Documentation/Splunk/7.2.4/Admin/Propsconf#Line_breaking

Google Translate: ??

これは、文字ごとにより多くのバイトを使用する文字セットで発生する可能性があります。

デフォルトの切り捨て制限は10,000バイトです。このため、約50%の長さの後に切り捨てが表示される可能性があります。
適切なソースタイプに合わせて、props.confでTRUNCATEをより大きな値に設定してみてください。
https://docs.splunk.com/Documentation/Splunk/7.2.4/Admin/Propsconf#Line_breaking

If my comment helps, please give it a thumbs up!
0 Karma

mcdp_matsumoto
New Member

ご回答ありがとうございます。
試したら結果を連携します。
しばらくお待ちください。

0 Karma
Get Updates on the Splunk Community!

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 ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...