Splunk Search

ルックアップとサブサーチの併用

miraclen
New Member

リストボックストークン:トークン名=D01 、選択肢:XYZ ※Field-AにXYZが代入されているとみなす。
入力ログ:index=IDX1
ルックアップ定義:|lookup Looktest Field-A OUTPUT Field-B
⇒Field-BにはIDX1がサーチ結果として代入。

この条件でトークンで選択した値からindexをサーチする場合、どのような記述になるか教えてください。

私の考えたサーチ文:index=[search index=*|eval Field-A=$D01$|lookup Looktest Field-A OUTPUT Field-B|field Field-B]
※この文ではエラーになり思った結果を得ることができませんでした。

0 Karma

miraclen
New Member

この場合はどうすれば、解決できるでしょうか?

 search 1:A=10
 search 2:search B=A

0 Karma
Get Updates on the Splunk Community!

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

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...