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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...