<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic RHL version on all the UF in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/RHL-version-on-all-the-UF/m-p/466367#M87772</link>
    <description>&lt;P&gt;HI All , &lt;/P&gt;

&lt;P&gt;Could you please help me in getting the query to get red hat linux version on the all UF , i have checked many splunk answers the query uses metrics logs and i got only the version of the splunk and os as Linux , but not the actual linux version on the host . &lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2020 10:50:46 GMT</pubDate>
    <dc:creator>deepakgaonkar</dc:creator>
    <dc:date>2020-02-13T10:50:46Z</dc:date>
    <item>
      <title>RHL version on all the UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/RHL-version-on-all-the-UF/m-p/466367#M87772</link>
      <description>&lt;P&gt;HI All , &lt;/P&gt;

&lt;P&gt;Could you please help me in getting the query to get red hat linux version on the all UF , i have checked many splunk answers the query uses metrics logs and i got only the version of the splunk and os as Linux , but not the actual linux version on the host . &lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 10:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/RHL-version-on-all-the-UF/m-p/466367#M87772</guid>
      <dc:creator>deepakgaonkar</dc:creator>
      <dc:date>2020-02-13T10:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: RHL version on all the UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/RHL-version-on-all-the-UF/m-p/466368#M87773</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/187635"&gt;@deepakgaonkar&lt;/a&gt;,&lt;BR /&gt;
if you need only operative system of each target server, you can use a search like this on Deployment Server:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=local /services/deployment/server/clients | table instanceName ip utsname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If instead you want more infos about your servers, as the operative system version, you have to use a Technology Add-On (TA) to extract this info from the target.&lt;BR /&gt;
I'm speaking of TA_Windows (for Windows Servers) and TA_nix (for Linux servers).&lt;BR /&gt;
You have to take these TAs, enable the stanza to check the operative system version and deploy them to all the targets.&lt;/P&gt;

&lt;P&gt;Then you can run a search like this:&lt;BR /&gt;
for &lt;STRONG&gt;Windows servers&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=windows sourcetype=WinHostMon Type=OperatingSystem 
            | eval host=upper(host)
            | dedup host 
            | sort host 
            | table OS Version ServicePack BuildNumber SerialNumber InstallDate LastBootUpTime
            | eval 
               InstallDate=strftime(strptime(InstallDate,"%Y%m%d%H%M%S"),"%d/%m/%Y %H.%M.%S"),
               LastBootUpTime=strftime(strptime(LastBootUpTime,"%Y%m%d%H%M%S"),"%d/%m/%Y %H.%M.%S")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For &lt;STRONG&gt;Linux servers&lt;/STRONG&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os sourcetype=Unix:Version
            | table os_name os_release os_version machine_architecture_name
            | rename os_name AS "Operative System" os_release AS Release os_version AS Version machine_architecture_name AS Architecture
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:11:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/RHL-version-on-all-the-UF/m-p/466368#M87773</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-30T04:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: RHL version on all the UF</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/RHL-version-on-all-the-UF/m-p/466369#M87774</link>
      <description>&lt;P&gt;Install the Splunk Addon for Unix to your forwarders, and configure version.sh&lt;BR /&gt;
&lt;A href="https://splunkbase.splunk.com/app/833/"&gt;https://splunkbase.splunk.com/app/833/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This input collects detailed version information from your host (amongst many other useful things if you wish), and as a bonus will add it to the Inventory Data model.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 11:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/RHL-version-on-all-the-UF/m-p/466369#M87774</guid>
      <dc:creator>nickhills</dc:creator>
      <dc:date>2020-02-13T11:36:46Z</dc:date>
    </item>
  </channel>
</rss>

