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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...