Reporting

スケジュールサーチの PDF が正しく生成されません

cwl
Contributor

Splunk 6.0.1 で 2 つのスケジュールサーチを作成したところ、1 時間以内に完了するサーチのほうは問題なく PDF を受け取ることができましたが、1 時間以上かかるサーチでは PDF 付きのメールを受け取ることができませんでした。1 時間以上のサーチでも PDF を受け取れる方法はありますでしょうか。

Tags (3)
1 Solution

cwl
Contributor

SPLUNK_HOME/etc/apps/search/bin/sendemail.py には PDF 生成のタイムアウト値 PDFGEN_SIMPLE_REQUEST_TIMEOUT が定義されています。デフォルトでは、3600 秒(1 時間)でタイムアウトとなり、1 時間以上かかるサーチのPDFを生成し、メールで添付したい場合は、PDFGEN_SIMPLE_REQUEST_TIMEOUT を増やす必要があります。

以下の英語 Answer でも同じ内容の質問がされていますので、あわせて確認してみてください。

http://answers.splunk.com/answers/146060

View solution in original post

cwl
Contributor

SPLUNK_HOME/etc/apps/search/bin/sendemail.py には PDF 生成のタイムアウト値 PDFGEN_SIMPLE_REQUEST_TIMEOUT が定義されています。デフォルトでは、3600 秒(1 時間)でタイムアウトとなり、1 時間以上かかるサーチのPDFを生成し、メールで添付したい場合は、PDFGEN_SIMPLE_REQUEST_TIMEOUT を増やす必要があります。

以下の英語 Answer でも同じ内容の質問がされていますので、あわせて確認してみてください。

http://answers.splunk.com/answers/146060

Get Updates on the Splunk Community!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...