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!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...