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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...