<?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 Re: Is it possible to send host grouping information from a forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-send-host-grouping-information-from-a/m-p/194042#M38645</link>
    <description>&lt;P&gt;Splunk records pretty limited information per-event; your best bet would be to either have a lookup field (which you mentioned may not work), filters as a set of macros or eventtypes (again, based on static info), or to have it built-in to one of the default metadata-scraped fields:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Have it built-in to the "host" field (ex: have domain portions of the FQDN identify grouping)&lt;/LI&gt;
&lt;LI&gt;Have it built-in to the "source" field (ex: prefix/suffix source value with a tag - I've seen this done where we had "grouping" built-in to the directories of the log files we were scraping)&lt;/LI&gt;
&lt;LI&gt;Have it built-in to the "sourcetype" field (entirely dependent on your environment, but I'd generally prefer to have slightly broader sourcetypes)&lt;/LI&gt;
&lt;/UL&gt;</description>
    <pubDate>Thu, 15 Jan 2015 20:40:42 GMT</pubDate>
    <dc:creator>srioux</dc:creator>
    <dc:date>2015-01-15T20:40:42Z</dc:date>
    <item>
      <title>Is it possible to send host grouping information from a forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-send-host-grouping-information-from-a/m-p/194041#M38644</link>
      <description>&lt;P&gt;In an inputs.conf I can define a forwarder's host field which I can use in searches. Identifying a single host is not always enough, e.g., we have build servers, source code management servers, filers etc. to monitor - a kind of grouping would come in handy in order to limit searches to a certain group of hosts. We could do that by maintaining lists and using them as look-ups, but I was wondering whether there's the possibility to achieve that on the forwarder with just configuration. Example:&lt;/P&gt;

&lt;P&gt;inputs.conf on host A:&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
host=hosta&lt;BR /&gt;
group=build_servers&lt;BR /&gt;
&lt;/PRE&gt;&lt;BR /&gt;
inputs.conf on host B:&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
host=hostb&lt;BR /&gt;
group=git_servers&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;I want to be able to search for something like &lt;PRE&gt;search host=* group="build_servers" sourcetype="df" ... | ...&lt;/PRE&gt;&lt;/P&gt;

&lt;P&gt;Is there a way to do this?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:41:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-send-host-grouping-information-from-a/m-p/194041#M38644</guid>
      <dc:creator>d044160</dc:creator>
      <dc:date>2020-09-28T18:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send host grouping information from a forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-send-host-grouping-information-from-a/m-p/194042#M38645</link>
      <description>&lt;P&gt;Splunk records pretty limited information per-event; your best bet would be to either have a lookup field (which you mentioned may not work), filters as a set of macros or eventtypes (again, based on static info), or to have it built-in to one of the default metadata-scraped fields:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;Have it built-in to the "host" field (ex: have domain portions of the FQDN identify grouping)&lt;/LI&gt;
&lt;LI&gt;Have it built-in to the "source" field (ex: prefix/suffix source value with a tag - I've seen this done where we had "grouping" built-in to the directories of the log files we were scraping)&lt;/LI&gt;
&lt;LI&gt;Have it built-in to the "sourcetype" field (entirely dependent on your environment, but I'd generally prefer to have slightly broader sourcetypes)&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Thu, 15 Jan 2015 20:40:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-send-host-grouping-information-from-a/m-p/194042#M38645</guid>
      <dc:creator>srioux</dc:creator>
      <dc:date>2015-01-15T20:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to send host grouping information from a forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-send-host-grouping-information-from-a/m-p/194043#M38646</link>
      <description>&lt;P&gt;I almost suspected that. Thanks for summarizing my options ... "host" and "source" won't work because those are outside my jurisdiction (I don't own the monitorees) and I agree, abusing "sourcetype" for that purpose would harm "sourcetype" as a more or less well-known concept in my Splunk deployment.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jan 2015 14:52:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-send-host-grouping-information-from-a/m-p/194043#M38646</guid>
      <dc:creator>d044160</dc:creator>
      <dc:date>2015-01-16T14:52:37Z</dc:date>
    </item>
  </channel>
</rss>

