All Apps and Add-ons

NIX addon problem

mkhanzadeh
Loves-to-Learn

hello everyone

we have Splunk_TA_nix version 8.7.0 ,some of scripts dose not work properly such as lsof.sh,rlog.sh ,...

also sometimes after the times scripts dose not work properly and it's log was interupted. can anyone helps me? 

Labels (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mkhanzadeh,

one question: did you deployed this add-on using a Windows Deployment Server?

if yes, this is the issue, because Windows doesn'r manage execution permits on these scripts.

Then, if you manually run this scripts (using the same user that you're using to run Splunk) do they work?

Ciao.

Giuseppe

0 Karma

mkhanzadeh
Loves-to-Learn

hi @gcusello 

thanks for reply.

no, we deployed this add-on using a Linux Deployment Server and script permission in "bin directory" seems correct.

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mkhanzadeh,

do they fail every time or sometimes?

what happen if you manually run these script using the same user that you are using to run Splunk?

Ciao.

Giuseppe

0 Karma

mkhanzadeh
Loves-to-Learn

Hi  @gcusello 

in some case fails every time in some case fails sometimes.

 I manually run rlog script using the same user that i am using to run Splunk and it fails

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @mkhanzadeh,

this should mean that the issue is in the user grants, did you used to run Splunk as root?

Ciao.

Giuseppe

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