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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...