<?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: Search Help - Add Index to this _internal Search - And combine hosts in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319386#M95496</link>
    <description>&lt;P&gt;No, it just adds a new field to all events that get indexed that identifies the sending forwarder. &lt;/P&gt;</description>
    <pubDate>Fri, 13 Sep 2019 05:19:11 GMT</pubDate>
    <dc:creator>masonmorales</dc:creator>
    <dc:date>2019-09-13T05:19:11Z</dc:date>
    <item>
      <title>Search Help - Add Index to this _internal Search - And combine hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319381#M95491</link>
      <description>&lt;P&gt;I would like to add which index each of these hosts comes from in this search.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal source=*/metrics.log component=Metrics host=*hf* group=tcpin* | top limit=10000 hostname host version os arch
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I was trying to append a list of servers from just a normal "index=foo" search, but I couldn't get that working.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;hostname                    host                            version os                  arch    count   percent
bar                         barhost1                        5.0.2   Windows x64          556    2.839632
                              barhost2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Sorry for the formatting.&lt;/P&gt;

&lt;P&gt;Also, this search shows us which Heavy Forwarders each device is sending logs to.  Instead of having a separate line for each Heavy Forwarder a device is sending to, I'd like to combine those values into 1 field per line, as shown above.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 20:13:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319381#M95491</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2017-04-11T20:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Add Index to this _internal Search - And combine hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319382#M95492</link>
      <description>&lt;P&gt;I use an indexed field called, "splunk_forwarder" to identify my heavy forwarders. Using an indexed field allows me to see which HF sent an event, regardless of which sourcetype I'm looking at. Here's a &lt;A href="http://www.masonsmorales.com/splunk-blog/creating-indexed-fields-in-splunk-to-identify-heavy-forwarders"&gt;blog post&lt;/A&gt; about it. &lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2017 23:38:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319382#M95492</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2017-04-11T23:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Add Index to this _internal Search - And combine hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319383#M95493</link>
      <description>&lt;P&gt;But can you see which index that device is associated with?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2017 18:44:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319383#M95493</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2017-04-12T18:44:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Add Index to this _internal Search - And combine hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319384#M95494</link>
      <description>&lt;P&gt;Yes, then you could do something like &lt;CODE&gt;index=* splunk_forwarder=* | stats values(index) as indexes by splunk_forwarder&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2017 23:49:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319384#M95494</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2017-04-17T23:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Add Index to this _internal Search - And combine hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319385#M95495</link>
      <description>&lt;P&gt;But are you now searching all raw data that way?  Instead of using _internal or summarized data?&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2017 14:07:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319385#M95495</guid>
      <dc:creator>aferone</dc:creator>
      <dc:date>2017-04-18T14:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Search Help - Add Index to this _internal Search - And combine hosts</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319386#M95496</link>
      <description>&lt;P&gt;No, it just adds a new field to all events that get indexed that identifies the sending forwarder. &lt;/P&gt;</description>
      <pubDate>Fri, 13 Sep 2019 05:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Search-Help-Add-Index-to-this-internal-Search-And-combine-hosts/m-p/319386#M95496</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2019-09-13T05:19:11Z</dc:date>
    </item>
  </channel>
</rss>

