Monitoring Splunk

Monitor file is not working on unix

722624
Path Finder
  1. I have splunk installed on *nix server
  2. created a folder 'splunk_monitor' in folder '/opt/splunk' ..given owner as same as splunk installed
  3. my inputs.conf file updated with below content
    [monitor:/$SPLUNK_HOME/splunk_monitor]
    index =
    sourcetype =

  4. this is not indexing any files, I cant see any events in search ..

  5. I tried searching with sourcetype, index, source etc...with many combinations.. still no result

  6. I tried checking few log files splunkd.log etc..

Please guide me how can I trouble shoot
Thank you

Amarander Busireddy

Tags (1)
0 Karma
1 Solution

hunters_splunk
Splunk Employee
Splunk Employee

Hi Amarander,

Please try adding a monitor input using CLI, for example:

./splunk add monitor /var/log/  -index newindex

For details, please refer to documentation: http://docs.splunk.com/Documentation/Splunk/6.5.1/Data/MonitorfilesanddirectoriesusingtheCLI

Hope this helps. Thanks!
Hunter

View solution in original post

0 Karma

ddrillic
Ultra Champion

We can start with I can't find my data!

0 Karma

hunters_splunk
Splunk Employee
Splunk Employee

Hi Amarander,

Please try adding a monitor input using CLI, for example:

./splunk add monitor /var/log/  -index newindex

For details, please refer to documentation: http://docs.splunk.com/Documentation/Splunk/6.5.1/Data/MonitorfilesanddirectoriesusingtheCLI

Hope this helps. Thanks!
Hunter

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...