<?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: Extract Key=value before indexing , and index only the extracted key/values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164205#M46635</link>
    <description>&lt;P&gt;Hi Kristian, thanks for your answer , the main goal here is to exclude unneeded data from being stored in splunk, so I needed to store only the important one to me..&lt;/P&gt;

&lt;P&gt;so thinking about how to do this , and extract some parts of the incoming messages to Splunk store it and indexing it..&lt;/P&gt;

&lt;P&gt;still your answer valid in that case ?&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2013 11:28:45 GMT</pubDate>
    <dc:creator>aelnaggar</dc:creator>
    <dc:date>2013-12-09T11:28:45Z</dc:date>
    <item>
      <title>Extract Key=value before indexing , and index only the extracted key/values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164202#M46632</link>
      <description>&lt;P&gt;I have data input which returns key=value delimited with space, so I don't need to index all of them , so how can I index some of them and avoid the others..&lt;BR /&gt;
Also I want when I search for something only the important key/values to show&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2013 15:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164202#M46632</guid>
      <dc:creator>aelnaggar</dc:creator>
      <dc:date>2013-12-03T15:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Key=value before indexing , and index only the extracted key/values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164203#M46633</link>
      <description>&lt;P&gt;Permanently removing (parts of) event data prior to indexing can be done by means of index-time transformations or SEDCMD, read more here;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Data/Anonymizedatausingconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Data/Anonymizedatausingconfigurationfiles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The definition of 'important' is hard for anyone but you to make. But changing the search mode might be what you're after;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Search/Changethesearchmode"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Search/Changethesearchmode&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This will control how fields will be extracted, if at all. You can probably do this in a more manual fashion, by setting &lt;CODE&gt;KV_MODE=none&lt;/CODE&gt; for your sourcetype, and making explicit &lt;CODE&gt;EXTRACT&lt;/CODE&gt;s;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles#Steps_for_defining_basic_search-time_field_extractions_with_props.conf"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Knowledge/Createandmaintainsearch-timefieldextractionsthroughconfigurationfiles#Steps_for_defining_basic_search-time_field_extractions_with_props.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/admin/Propsconf"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/admin/Propsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2013 16:25:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164203#M46633</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-12-03T16:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Key=value before indexing , and index only the extracted key/values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164204#M46634</link>
      <description>&lt;P&gt;Hi Kristian, thanks for your answer , the main goal here is to exclude unneeded data from being stored in splunk, so I needed to store only the important one to me..&lt;/P&gt;

&lt;P&gt;so thinking about how to do this , and extract some parts of the incoming messages to Splunk store it and indexing it..&lt;/P&gt;

&lt;P&gt;still your answer valid in that case ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 11:28:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164204#M46634</guid>
      <dc:creator>aelnaggar</dc:creator>
      <dc:date>2013-12-09T11:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Key=value before indexing , and index only the extracted key/values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164205#M46635</link>
      <description>&lt;P&gt;Hi Kristian, thanks for your answer , the main goal here is to exclude unneeded data from being stored in splunk, so I needed to store only the important one to me..&lt;/P&gt;

&lt;P&gt;so thinking about how to do this , and extract some parts of the incoming messages to Splunk store it and indexing it..&lt;/P&gt;

&lt;P&gt;still your answer valid in that case ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 11:28:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164205#M46635</guid>
      <dc:creator>aelnaggar</dc:creator>
      <dc:date>2013-12-09T11:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Key=value before indexing , and index only the extracted key/values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164206#M46636</link>
      <description>&lt;P&gt;Hi Kristian, thanks for your answer , the main goal here is to exclude unneeded data from being stored in splunk, so I needed to store only the important one to me..&lt;/P&gt;

&lt;P&gt;so thinking about how to do this , and extract some parts of the incoming messages to Splunk store it and indexing it..&lt;/P&gt;

&lt;P&gt;still your answer valid in that case ?&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 11:28:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164206#M46636</guid>
      <dc:creator>aelnaggar</dc:creator>
      <dc:date>2013-12-09T11:28:53Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Key=value before indexing , and index only the extracted key/values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164207#M46637</link>
      <description>&lt;P&gt;I recently filtered unwanted data at index time by using the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;filter and route&lt;/A&gt; method. I think this will allow you to accomplish what you need.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2013 15:06:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164207#M46637</guid>
      <dc:creator>sc0tt</dc:creator>
      <dc:date>2013-12-09T15:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Extract Key=value before indexing , and index only the extracted key/values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164208#M46638</link>
      <description>&lt;P&gt;The first link in my answer above, demonstrate a few options for removing unwanted data from within each event prior to indexing. &lt;/P&gt;

&lt;P&gt;The link provided by @sc0tt in his answer shows how to discard/keep whole events based on individual event content.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2013 06:48:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Extract-Key-value-before-indexing-and-index-only-the-extracted/m-p/164208#M46638</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-12-10T06:48:06Z</dc:date>
    </item>
  </channel>
</rss>

