Getting Data In

How to get the OS version in which Splunk UF is running?

Sidharda
Path Finder

Hi Everyone,

My Splunk UF's are installed on Linux. How do I get the OS version. (Not OS type). I am using Splunk App for Unix and Linux. Is there a way to get from that app.?

Labels (1)
0 Karma

manjunathmeti
Champion

You need to deploy Splunk Add-on for Unix and Linux on UF, enable scripted input version.sh by putting below configurations in apps local directory (../Splunk_TA_nix/local/) and restart forwarder.

[script://./bin/version.sh]
disabled = false
interval = 300
index = INDEX_NAME
source = Unix:Version
sourcetype = Unix:Version

Change interval as per your requirement.

Sidharda
Path Finder

enabling scripted input version.sh worked. Thanks for your inputs !!

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...