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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...