Splunk Search

データのインポートについて

70250939
Explorer

FREE版の6.1.3をダウンロードして自宅のPCにインストールして使い始めたのですが、
ログをうまくインポートできない為、ご教授お願いします。

設定方法は以下の通りです。

◆インデックスの作成
「test」というインデックスを作成(インデックスの設定内容はデフォのまま)

◆データのインポート
「データ」-「データの入力」-「ファイル&ディレクトリ」-「新規」

ソースを指定は「この Splunkがアクセスできるファイルやディレクトリから継続的にインデックスを作成」にチェック

データへのフルパス C:\data\host1(host1というフォルダの中にcsvファイルが入っています。)

ホスト設定  :セグメントパス
セグメント番号:2

宛先インデックスを設定に先ほど作成した「test」を指定。
(他の設定はそのままです。)

これでサーチしても出てきませんので取り込まれてないのかなと思っています。

何か設定が間違っているのでしょうか?

かなり初歩的なことで申し訳ありませんがよろしくお願い致します。

Tags (2)
0 Karma
1 Solution

melonman
Motivator

サーチするときに、index=test といれてみてはどうでしょか?

View solution in original post

0 Karma

70250939
Explorer

サーチでindex=*でやってみてもデータはありませんでした。

0 Karma

melonman
Motivator

サーチするときに、index=test といれてみてはどうでしょか?

0 Karma

70250939
Explorer

ログファイルが小さすぎたのが原因かもしれません。
ある程度のサイズのファイルは取り込めました。
ありがとうございました。

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...