WhoisXML Registrant Alert APIはSplunk 用のアプリケーションです。特定のドメイン名登録者を監視し、その情報がSplunk 内で新規登録ドメイン名や期限切れドメイン名にリンクされたときにアラートを受け取ることができます。
前提条件
Splunk Enterprise をインストールして設定しておく必要があります。詳しくは公式ドキュメントをご参照ください。
拡張機能を設定
1. Splunk にログインします。
![Splunkにログインします。 Splunkにログインします。](https://registrant-alert.whoisxmlapi.com/products-vue-assets/public/images/registrant-alert/blogs/registrant-alert-api-splunk-application-tutorial/splunk-1.png)
2. アプリケーションをダウンロード そして インストールします。これは Splunk内(https://splunkbase.splunk.com/app/5236)から行うことができます。
3. アプリケーションをインストールしたら、すぐに設定を開始できます。
![アプリケーションをインストールしたら、すぐに設定を開始できます。 アプリケーションをインストールしたら、すぐに設定を開始できます。](https://registrant-alert.whoisxmlapi.com/products-vue-assets/public/images/registrant-alert/blogs/registrant-alert-api-splunk-application-tutorial/splunk-2.png)
3.1 Appsページでアプリケーションを設定することもできます。 アプリケーション名の横にあるSet upをクリックします。
![Appsページでアプリケーションを設定することもできます。アプリケーション名の近くにある「設定」をクリックします。 Appsページでアプリケーションを設定することもできます。アプリケーション名の近くにある「設定」をクリックします。](https://registrant-alert.whoisxmlapi.com/products-vue-assets/public/images/registrant-alert/blogs/registrant-alert-api-splunk-application-tutorial/splunk-3.png)
4. APIキーを入力 し、「保存」をクリックします。
![APIキーを入力し、「保存」をクリックします。 APIキーを入力し、「保存」をクリックします。](https://registrant-alert.whoisxmlapi.com/products-vue-assets/public/images/registrant-alert/blogs/registrant-alert-api-splunk-application-tutorial/splunk-4.png)
拡張機能を使用
1. Registrant Alert Lookupページでは、すぐに検索を実行できます。
![登録者アラート検索ページでは、即座に登録者アラート検索を実行できます。 登録者アラート検索ページでは、即座に登録者アラート検索を実行できます。](https://registrant-alert.whoisxmlapi.com/products-vue-assets/public/images/registrant-alert/blogs/registrant-alert-api-splunk-application-tutorial/splunk-5.png)
2. SplunkのRegistrant Alertをスクリプトに統合するには、wxaregalertコマンドを使用できます。これは最大18個の引数を取ります:term1-term4(検索語を指定)、api_key(任意、APIを指定)、exclude_term1 - exclude_term4(検索結果をフィルタリングするための除外語を指定)、advanced_term1 - advanced_term4およびadvanced_field1 - advanced_field4(高度な検索語を指定)。詳しくはAPIドキュメントのページをご参照ください。
![登録者検索の統合 登録者検索の統合](https://registrant-alert.whoisxmlapi.com/products-vue-assets/public/images/registrant-alert/blogs/registrant-alert-api-splunk-application-tutorial/splunk-6.png)