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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...