<?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 can I tag or mark _internal events from different environments? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310977#M174977</link>
    <description>&lt;P&gt;Can you try the dbinspect command? Following is a sample which may suit your need.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbinspect index=_internal 
| stats sum(eventCount) as eventCount by splunk_server
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 05 Apr 2017 15:46:50 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2017-04-05T15:46:50Z</dc:date>
    <item>
      <title>How can I tag or mark _internal events from different environments?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310976#M174976</link>
      <description>&lt;P&gt;We have a requirement to collect data from testing enclaves (that have copies of production devices) to our primary Splunk environment. I have event data going to a separate index through a heavy forwarder. What I am concerned about is the Internal index. I will need to track if I have Splunk UFs on clients in the enclave. Is there a way to mark or tag the data coming through the Heavy Forwarder to indicate that it is coming from that testing environment?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 14:42:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310976#M174976</guid>
      <dc:creator>sniderwj</dc:creator>
      <dc:date>2017-04-05T14:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tag or mark _internal events from different environments?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310977#M174977</link>
      <description>&lt;P&gt;Can you try the dbinspect command? Following is a sample which may suit your need.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbinspect index=_internal 
| stats sum(eventCount) as eventCount by splunk_server
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Apr 2017 15:46:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310977#M174977</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-04-05T15:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tag or mark _internal events from different environments?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310978#M174978</link>
      <description>&lt;P&gt;Do the UFs on Testing enclaves follow any particular naming conventions (basically how can you differentiate a UF from Primary vs UF from testing enclave)? How are those UF's receiving configurations, deployment servers or direct?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 15:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310978#M174978</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-04-05T15:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tag or mark _internal events from different environments?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310979#M174979</link>
      <description>&lt;P&gt;The flow of data from the Enclave is UF --&amp;gt; Heavy Forwarder --&amp;gt; Production Splunk --&amp;gt; Enclave Specific Index&lt;/P&gt;

&lt;P&gt;They are copying devices into the enclave from production so we will have duplicate names (host names and domain names) between the enclaves and in production.&lt;/P&gt;

&lt;P&gt;I guess the easiest place would be to hit the events at the HF layer but I'm unsure how I can do that.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 16:33:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310979#M174979</guid>
      <dc:creator>sniderwj</dc:creator>
      <dc:date>2017-04-05T16:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I tag or mark _internal events from different environments?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310980#M174980</link>
      <description>&lt;P&gt;One of the options you have is to add a metadata field to the events, which will require you to update forwarder configuration whenever a host moves between environments. &lt;A href="https://answers.splunk.com/answers/1453/how-do-i-add-metadata-to-events-coming-from-a-splunk-forwarder.html"&gt;Here&lt;/A&gt; is an answer that describes the process.&lt;/P&gt;

&lt;P&gt;An alternative approach is to create (and - the tricky part - maintain) a lookup file that maps host names to enclave at search time. &lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 18:04:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-tag-or-mark-internal-events-from-different/m-p/310980#M174980</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2017-04-05T18:04:38Z</dc:date>
    </item>
  </channel>
</rss>

