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
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...

[Puzzles] Solve, Learn, Repeat: Dereferencing XML to Fixed-length events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Stay Connected: Your Guide to December Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...