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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...