Deployment Architecture

Deploy Unix scripts from a Windows Deployment Server

gcusello
SplunkTrust
SplunkTrust

Hi at all,
I have an all-in-one Splunk 6.4.3 installed on Windows 2012/R2 to manage both Linux and Windows Forwarders.
Obviously my problem is to deploy apps like TA_nix from a Windows machine to a Linux machine because scripts in App haven't the correct rights (they have 644 instead of 755) and so they don't run!
I have read answer https://answers.splunk.com/answers/70039/windows-deployment-server-to-nix-deployment-client-permissi...
but it's an answer of four years ago and I don't understand how to implement it.
Can anyone give me any suggest?
Bye.
Giuseppe

0 Karma

jkat54
SplunkTrust
SplunkTrust

Maybe you could untar it on a linux box, recursively change the owner to your Splunk users UID, change the permissions, and then tar it back up and gzip it, and move it to you ds ?

Otherwise I guess you have to script the permissions change and run the script as a scripted input as part of the app... Wow the pain!

0 Karma

gcusello
SplunkTrust
SplunkTrust

Scripts are the ones in TA-nix app so rights are correct (in a Linux DS)!
But Windows DS gives wrong rights to them.
Bye.
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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...