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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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