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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...