All Apps and Add-ons

How can I monitor root-owned logs while running Splunk as a non-root user?

vin02
Path Finder

How to monitor root-owned logs while running Splunk as a non-root user for Amazon Linux AMI?
what are the permission required for non-root user to run the environment ?

0 Karma

tmarlette
Motivator

whatever user that is running splunk needs r/w access to $SPLUNK_HOME, and read to whatever root owned logs.

best guess here is to create a group that has read access to those logs, but retains root ownership, and add the splunk user to that group in linux.

vin02
Path Finder

Thanks for the answer. What is the command for the same?

0 Karma

lguinn2
Legend

@vin02 - that would be an OS command, not a Splunk command, so it would depend on your operating system.

0 Karma

vin02
Path Finder

we are using Amazon Linux.

0 Karma

lguinn2
Legend

If you need help with Linux commands, you could start with the AWS Linux documentation
https://aws.amazon.com/premiumsupport/knowledge-center/linux-command-basics/

You could also use any reference for Cento OS, and that is the base for AWS Linux

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 ...