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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...