<?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 export serverclass hostname in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/export-serverclass-hostname/m-p/711973#M10734</link>
    <description>&lt;P&gt;How can I export the host values in excel for the particular serverclass&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there is any query for that that will be helpful .&lt;BR /&gt;&lt;BR /&gt;Path will be&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Deployment server -&amp;gt; forwarder management -&amp;gt;serverclass -&amp;gt; action (edit clients) -&amp;gt; need to export the hostname from the list&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 19 Feb 2025 06:55:07 GMT</pubDate>
    <dc:creator>Praz_123</dc:creator>
    <dc:date>2025-02-19T06:55:07Z</dc:date>
    <item>
      <title>export serverclass hostname</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/export-serverclass-hostname/m-p/711973#M10734</link>
      <description>&lt;P&gt;How can I export the host values in excel for the particular serverclass&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is there is any query for that that will be helpful .&lt;BR /&gt;&lt;BR /&gt;Path will be&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Deployment server -&amp;gt; forwarder management -&amp;gt;serverclass -&amp;gt; action (edit clients) -&amp;gt; need to export the hostname from the list&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 06:55:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/export-serverclass-hostname/m-p/711973#M10734</guid>
      <dc:creator>Praz_123</dc:creator>
      <dc:date>2025-02-19T06:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: export serverclass hostname</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/export-serverclass-hostname/m-p/711981#M10735</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/258639"&gt;@Praz_123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try the following SPL query, which you can then export / save the results of.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| tstats count where index=_dsappevent data.serverClassName=100_IngestAction_AutoGenerated data.action=Install by data.clientId, data.serverClassName
| rename data.* as * 
| table serverClassName clientId 
| append 
    [ tstats count where index=_dsclient by 
        data.build data.clientId data.connectionId data.dns data.guid data.hostname data.instanceId 
        data.instanceName data.ip data.mgmt data.name data.package data.packageType data.splunkVersion data.utsname datetime 
    | dedup data.clientId sortby -datetime 
    | rename data.* as *]
    
| stats values(*) AS * by clientId
| table serverClassName clientId hostname&lt;/LI-CODE&gt;&lt;P&gt;Replace "100_IngestAction_AutoGenerated" with your chosen serverclass,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider accepting this answer or adding karma this answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Wed, 19 Feb 2025 07:57:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/export-serverclass-hostname/m-p/711981#M10735</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-02-19T07:57:04Z</dc:date>
    </item>
  </channel>
</rss>

