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!

Manage Edge Processor pipelines end to end with APIs

This guide uses the Data Management APIs to create an Edge Processor, onboard one instance, deploy a pipeline ...

Splunk Brings Proof of Control to Digital Asset Transfers

Digital assets now sit inside the core of financial services. HSBC launched its Tokenized Deposit Service in ...

Manage Ingest Processor pipelines end to end with APIs

This guide uses the Data Management APIs to create an Ingest Processor pipeline, deploy it to the ...