<?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: How to filter out log volume data from certain hosts in my search? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-log-volume-data-from-certain-hosts-in-my/m-p/271841#M52215</link>
    <description>&lt;P&gt;thanks a bunch, working as expected.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2015 20:24:24 GMT</pubDate>
    <dc:creator>raindrop18</dc:creator>
    <dc:date>2015-12-15T20:24:24Z</dc:date>
    <item>
      <title>How to filter out log volume data from certain hosts in my search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-log-volume-data-from-certain-hosts-in-my/m-p/271839#M52213</link>
      <description>&lt;P&gt;I have this search which is pulling a Splunk log volume usage report, but the index has logs from both production and lab environments, so I want filter out the hosts from the lab environment from this search. I have tried &lt;CODE&gt;host=prd*&lt;/CODE&gt;, but that didn't work. Is there a way to filter by host name?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;_internal source=*license_usage.log* type=Usage idx=web |   timechart  span=1h sum(b) as bytes | eval GB = round(bytes/1024/1024/1024,5) | fields _time GB
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Dec 2015 21:25:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-log-volume-data-from-certain-hosts-in-my/m-p/271839#M52213</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2015-12-14T21:25:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out log volume data from certain hosts in my search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-log-volume-data-from-certain-hosts-in-my/m-p/271840#M52214</link>
      <description>&lt;P&gt;The "host" field for the internal log is the name of the Splunk host - not the name of the host where the data came from! &lt;BR /&gt;
In the license_usage.log, the name for the field you want is &lt;CODE&gt;h&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;So try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*license_usage.log type=usage idx=web h="prd*"
| etc...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Dec 2015 00:03:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-log-volume-data-from-certain-hosts-in-my/m-p/271840#M52214</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-12-15T00:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out log volume data from certain hosts in my search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-log-volume-data-from-certain-hosts-in-my/m-p/271841#M52215</link>
      <description>&lt;P&gt;thanks a bunch, working as expected.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2015 20:24:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-log-volume-data-from-certain-hosts-in-my/m-p/271841#M52215</guid>
      <dc:creator>raindrop18</dc:creator>
      <dc:date>2015-12-15T20:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter out log volume data from certain hosts in my search?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-log-volume-data-from-certain-hosts-in-my/m-p/271842#M52216</link>
      <description>&lt;P&gt;Hi @raindrop18&lt;/P&gt;

&lt;P&gt;I'm glad you were able to find what you needed with @lguinn's answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Please don't forget to resolve this post by clicking "Accept" directly below her answer. Thanks!&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Thu, 17 Dec 2015 00:21:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-out-log-volume-data-from-certain-hosts-in-my/m-p/271842#M52216</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2015-12-17T00:21:53Z</dc:date>
    </item>
  </channel>
</rss>

