<?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 do I index a value thats not in the message? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90861#M23363</link>
    <description>&lt;P&gt;Thanks Stephen, I'm just not sure that I'm following your logic here. Step 1, would be to locate my special value V and index it using a new meta key K::V&lt;BR /&gt;
Step 2, would be to remove the value from the host&lt;BR /&gt;
Am I missing something from your post?&lt;/P&gt;</description>
    <pubDate>Wed, 17 Nov 2010 22:13:13 GMT</pubDate>
    <dc:creator>Marinus</dc:creator>
    <dc:date>2010-11-17T22:13:13Z</dc:date>
    <item>
      <title>How do I index a value thats not in the message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90859#M23361</link>
      <description>&lt;P&gt;I'm currently collecting logs on a lightweight forwarder.
I'm adding a special field to the messages which I'd like
to extract index it for later use at search time to enrich 
events with a lookup.&lt;/P&gt;

&lt;P&gt;I don't want to add the field into the message.
Is there s simple way to get my field to the indexer?&lt;/P&gt;

&lt;P&gt;My first plan was to concatenate it to the host meta key on the forwarder and
then extract and index it on the indexer. The host key can then be cleaned up.&lt;/P&gt;

&lt;P&gt;[forwarder] &lt;/P&gt;

&lt;P&gt;host=xyz,special_key&lt;/P&gt;

&lt;P&gt;[indexer]&lt;/P&gt;

&lt;P&gt;host=xyz&lt;/P&gt;

&lt;P&gt;special_field=special_key&lt;/P&gt;

&lt;P&gt;[seach_time]&lt;/P&gt;

&lt;P&gt;enrich using special_field&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2010 20:13:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90859#M23361</guid>
      <dc:creator>Marinus</dc:creator>
      <dc:date>2010-11-17T20:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I index a value thats not in the message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90860#M23362</link>
      <description>&lt;P&gt;&lt;A href="http://answers.splunk.com/questions/5571/way-to-insert-create-field-based-on-source" rel="nofollow"&gt;http://answers.splunk.com/questions/5571/way-to-insert-create-field-based-on-source&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2010 20:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90860#M23362</guid>
      <dc:creator>Stephen_Sorkin</dc:creator>
      <dc:date>2010-11-17T20:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I index a value thats not in the message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90861#M23363</link>
      <description>&lt;P&gt;Thanks Stephen, I'm just not sure that I'm following your logic here. Step 1, would be to locate my special value V and index it using a new meta key K::V&lt;BR /&gt;
Step 2, would be to remove the value from the host&lt;BR /&gt;
Am I missing something from your post?&lt;/P&gt;</description>
      <pubDate>Wed, 17 Nov 2010 22:13:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90861#M23363</guid>
      <dc:creator>Marinus</dc:creator>
      <dc:date>2010-11-17T22:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I index a value thats not in the message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90862#M23364</link>
      <description>&lt;P&gt;That is pretty much it - your data that is not in "_raw" becomes a new indexed field that is included in the index data when the events are indexed.  The caveat is these are index-time and cannot be changed/updated/removed without dumping and reindexing data.  We use this in my shop today to tag data as coming from "test" versus "prod" for files on the same source path.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2010 01:44:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90862#M23364</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-11-19T01:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: How do I index a value thats not in the message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90863#M23365</link>
      <description>&lt;P&gt;It's fine to do it for a source, I'm doing it at the event level. Each event can have it's own unique key.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2011 22:11:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-index-a-value-thats-not-in-the-message/m-p/90863#M23365</guid>
      <dc:creator>Marinus</dc:creator>
      <dc:date>2011-01-13T22:11:25Z</dc:date>
    </item>
  </channel>
</rss>

