All Apps and Add-ons

After configuring Splunk Add-on Unix and Linux using default settings, why is it not fetching data from the os index?

somchatt78
New Member

I'm in the process of setting up the Splunk App for Unix and Linux and the Splunk Add-on for Unix and Linux.

I've installed and configured the App via Splunk Web using default settings. I've installed the Add-on on one of my Linux boxes and enabled all of the default inputs using default settings. But I don't have data flowing into the "os" index.

But when I run other queries on other log files , I am getting results (the sourcetype has been defined in /opt/splunkforwarder/etc/apps/search/local/inputs.conf)

[monitor:///var/log/sudo.log]
disabled = false
index = main
sourcetype = sudolog

But the problem is I am unable get data populated for os index.
Can anyone help?

0 Karma

dmaislin_splunk
Splunk Employee
Splunk Employee

Are you running Splunk as root? Does the forwarder have access to that log? You can check your logs for errors in your /opt/splunkforwarder/var/log/splunk/splunkd.log as well.

0 Karma

somchatt78
New Member

Hi .. yes I am running both splunk and forwarder as root on two different machines. Forwarder have access to all logs. I am able to index other logs, but not able to index the OS ....
is there anything else that I need to do ?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...