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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...