UJP - 技術情報2 バックアップ : Splunk/7.3.1.1/mac/06LookupFileEditor のバックアップ差分(No.1)

Life is fun and easy!

不正IP報告数

Okan Sensor
 
メイン
ログイン
ブログ カテゴリ一覧

1: 2019-10-22 (火) 19:31:27 nobuaki ソース バックアップ No.1 を復元して編集
Line 1: Line 1:
 +*Splunk 7.3.1.1にSplunk AppのLookupFileEditorをインストールする [#tb69ccf4]
 +**はじめに [#d566d085]
 +
 + Splunkには検索時にマスターファイルを参照(ルックアップ)して結果を表示する機能がある.そのlookupで使われるファイルは,Splunk管理者がアップロードすることになるのだけれど,たびたぶLookupファイルが変更されると管理者の負担が大きい.
 +
 + それを解決するために,Splunkの拡張機能である,Splunk Appで提供されているLookupFile Editorを入れてみる.
 +
 +**Lookup File Editorの入手 [#w86a7dfd]
 +
 + Lookup File Editorは,以下のURLから無料でダウンロードできる.
 +
 +Lookup File Editor
 +https://splunkbase.splunk.com/app/1724/
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6419&SplunkAppLookupFileEditor1.jpg,center)
 +
 + 無料の会員登録が必要.
 +
 +**ダウンロードしたファイルを登録 [#j3d5c31c]
 +
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6420&SplunkAppLookupFileEditor2.jpg,center)
 + Appの歯車アイコンを選択.
 +
 + あとはファイルを選択してアップロード.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6421&SplunkAppLookupFileEditor3.jpg,center)
 + 
 +#ref(site://modules/xelfinder/index.php?page=view&file=6422&SplunkAppLookupFileEditor4.jpg,center)
 + 
 +#ref(site://modules/xelfinder/index.php?page=view&file=6423&SplunkAppLookupFileEditor5.jpg,center)
 + 
 +#ref(site://modules/xelfinder/index.php?page=view&file=6424&SplunkAppLookupFileEditor6.jpg,center)
 + 
 +#ref(site://modules/xelfinder/index.php?page=view&file=6425&SplunkAppLookupFileEditor7.jpg,center)
 + インストールできたことが確認できた.
 +
 +**ルックアップファイルを登録 [#k060f9dc]
 +
 + Lookup File Editorを入れたけれど,まだlookupファイルを入れてないので,登録する.
 + 今回は,WikipediaのColdplayのページがら取り出した,曲目リストを登録する.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6427&SplunkAppLookupFileEditor8.jpg,center)
 + [設定]から[ルックアップ]を選択.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6428&SplunkAppLookupFileEditor9.jpg,center)
 + [ルックアップファイル テーブル ファイル]の[新規追加]を選択.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6429&SplunkAppLookupFileEditor10.jpg,center)
 + 今回は,WikipediaのColdPlayの楽曲リストをコピペ.
 +
 +https://en.wikipedia.org/wiki/List_of_songs_recorded_by_Coldplay
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6430&SplunkAppLookupFileEditor11.jpg,center)
 + CSVになっているのでテキストエディタ不要部分を削って加工.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6431&SplunkAppLookupFileEditor12.jpg,center)
 + ファイルを選択して,名前をつけて登録.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6432&SplunkAppLookupFileEditor13.jpg,center)
 + ルックアップファイルが登録されたことがわかる.ただし,権限が自分にしかない.
 +
 +**ルックアップファイルの権限付与 [#q74ded47]
 +
 + ルックアップファイルをアップロードした本人にしか権限がないので,みんなで利用できるように権限付与する.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6433&SplunkAppLookupFileEditor14.jpg,center)
 + 初期状態では[プライベート保管]になっている.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6434&SplunkAppLookupFileEditor15.jpg,center)
 + [すべてのApp]を選択し,権限ロールは読み書きを付与する.
 +
 +#ref(site://modules/xelfinder/index.php?page=view&file=6435&SplunkAppLookupFileEditor16.jpg,center)
 + 権限付与が確認できた.


トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   ページ新規作成 全ページ一覧 単語検索 最新ページの一覧   ヘルプ   最新ページのRSS 1.0 最新ページのRSS 2.0 最新ページのRSS Atom
Counter: 1902, today: 1, yesterday: 0

広告スペース
Google