<?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 How to group hosts for reporting? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86726#M1955</link>
    <description>&lt;P&gt;I have hundreds of hosts within a tier and would like to combine those hosts for the purposes of reporting.  For example, I have the following hosts:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;web001.mydomain.com
web002
web003
web004
...
web999
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'd like to report all web hosts as web_tier.  So I can run a report for users who access hosts in the web_tier.  How can I do this?&lt;/P&gt;</description>
    <pubDate>Wed, 10 Nov 2010 03:15:13 GMT</pubDate>
    <dc:creator>the_wolverine</dc:creator>
    <dc:date>2010-11-10T03:15:13Z</dc:date>
    <item>
      <title>How to group hosts for reporting?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86726#M1955</link>
      <description>&lt;P&gt;I have hundreds of hosts within a tier and would like to combine those hosts for the purposes of reporting.  For example, I have the following hosts:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;web001.mydomain.com
web002
web003
web004
...
web999
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'd like to report all web hosts as web_tier.  So I can run a report for users who access hosts in the web_tier.  How can I do this?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 03:15:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86726#M1955</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-11-10T03:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to group hosts for reporting?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86727#M1956</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;We have a DB that stores this type of information at our company and we use lookups to add that kind of information to our events.&lt;/P&gt;

&lt;P&gt;I guess you could try this eval, and use the tier field for your report: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval tier=replace(source,"\d\d\d","_tier")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I'm guessing that this is probably not what you're looking for.&lt;/P&gt;

&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 04:10:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86727#M1956</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2010-11-10T04:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to group hosts for reporting?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86728#M1957</link>
      <description>&lt;P&gt;Yes, Chris!  This is what I needed!  I used the following syntax to match multiple patterns:&lt;/P&gt;

&lt;P&gt;| eval tier=replace(host,"(\d\d\d.mydomain.com|\d+.sub.mydomain.com)","_tier")&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 15:48:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86728#M1957</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2010-11-10T15:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to group hosts for reporting?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86729#M1958</link>
      <description>&lt;P&gt;I'm glad if that helped&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 18:39:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86729#M1958</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2010-11-10T18:39:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to group hosts for reporting?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86730#M1959</link>
      <description>&lt;P&gt;Another way to do this: ... | replace web* with web_tier in host | ...&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2010 23:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-group-hosts-for-reporting/m-p/86730#M1959</guid>
      <dc:creator>araitz</dc:creator>
      <dc:date>2010-11-10T23:54:22Z</dc:date>
    </item>
  </channel>
</rss>

