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?
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
ご回答ありがとうございます。
試したら結果を連携します。
しばらくお待ちください。