Splunk Search

データ更新方法について

masagara8823
Explorer

source="\dir\*" として、ここにファイルを順次追加していく場合の、データの更新方法を教えて頂けないでしょうか。
|APPEND コマンドん、サービスの再起動でも反映されませんでした。

0 Karma
1 Solution

melonman
Motivator

特定のフォルダ配下のファイルが随時追記される環境や、ファイル自体が追加されるという環境であれば、
「ファイルとディレクトリのモニター」の設定をしていただければ、追加・追記がされるごとにデータは自動的に取り込まれます。

詳細は、以下のドキュメントのp.23あたりを参考にされてみてください。

http://docs.splunk.com/images/a/a0/Splunk-6.3.0-ja_JP-Data.pdf

もし質問の理解がちがっているようでしたら、コメントいただければと思います。

View solution in original post

0 Karma

melonman
Motivator

特定のフォルダ配下のファイルが随時追記される環境や、ファイル自体が追加されるという環境であれば、
「ファイルとディレクトリのモニター」の設定をしていただければ、追加・追記がされるごとにデータは自動的に取り込まれます。

詳細は、以下のドキュメントのp.23あたりを参考にされてみてください。

http://docs.splunk.com/images/a/a0/Splunk-6.3.0-ja_JP-Data.pdf

もし質問の理解がちがっているようでしたら、コメントいただければと思います。

0 Karma

tkomatsubara_sp
Splunk Employee
Splunk Employee

どこかのフォルダにおいたファイルを逐次取り込んでいきたいということでしょうか?

0 Karma
Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...