<?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: multikv - remove unwanted rows from results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/multikv-remove-unwanted-rows-from-results/m-p/110799#M183595</link>
    <description>&lt;P&gt;You will need a similar solution to this one:&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/34324/how-can-i-not-index-commented-lines-from-my-files"&gt;http://answers.splunk.com/answers/34324/how-can-i-not-index-commented-lines-from-my-files&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jan 2014 16:58:26 GMT</pubDate>
    <dc:creator>aelliott</dc:creator>
    <dc:date>2014-01-13T16:58:26Z</dc:date>
    <item>
      <title>multikv - remove unwanted rows from results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multikv-remove-unwanted-rows-from-results/m-p/110798#M183594</link>
      <description>&lt;P&gt;Hi,  I am successfully using multikv to parse my tabular data.  However, my data has row separators and other non-intesting data that I would like to omit from the results.  Is there a way to do this?  &lt;/P&gt;

&lt;P&gt;For example,  The original data looks like this:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;**This is data for XXXXX**&lt;BR /&gt;&lt;BR /&gt;
Heading1 Heading2 Heading3&lt;BR /&gt;
&lt;BR /&gt;-------------------------------------------&lt;BR /&gt; fieldA1  fieldA2  fieldA3&lt;BR /&gt; fieldB1 &lt;BR /&gt;
fieldB2  fieldB3&lt;BR /&gt; fieldC1  fieldC2 &lt;BR /&gt;
fieldC3&lt;BR /&gt;&lt;/P&gt;

&lt;P&gt;**This is data for XXXXX**&lt;BR /&gt;&lt;BR /&gt;
Heading1 Heading2 Heading3&lt;BR /&gt;
&lt;BR /&gt;-------------------------------------------&lt;BR /&gt; fieldA1  fieldA2  fieldA3&lt;BR /&gt; fieldB1 &lt;BR /&gt;
fieldB2  fieldB3&lt;BR /&gt; fieldC1  fieldC2 &lt;BR /&gt;
fieldC3&lt;BR /&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I obviously want to omit the lines starting with "**" and "--" from the results.  How can I do this?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 16:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multikv-remove-unwanted-rows-from-results/m-p/110798#M183594</guid>
      <dc:creator>axsolis</dc:creator>
      <dc:date>2014-01-13T16:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: multikv - remove unwanted rows from results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multikv-remove-unwanted-rows-from-results/m-p/110799#M183595</link>
      <description>&lt;P&gt;You will need a similar solution to this one:&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/34324/how-can-i-not-index-commented-lines-from-my-files"&gt;http://answers.splunk.com/answers/34324/how-can-i-not-index-commented-lines-from-my-files&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 16:58:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multikv-remove-unwanted-rows-from-results/m-p/110799#M183595</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2014-01-13T16:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: multikv - remove unwanted rows from results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multikv-remove-unwanted-rows-from-results/m-p/110800#M183596</link>
      <description>&lt;P&gt;with slightly different regex&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 17:00:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multikv-remove-unwanted-rows-from-results/m-p/110800#M183596</guid>
      <dc:creator>aelliott</dc:creator>
      <dc:date>2014-01-13T17:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: multikv - remove unwanted rows from results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/multikv-remove-unwanted-rows-from-results/m-p/110801#M183597</link>
      <description>&lt;P&gt;That worked.  I just placed the regex command after the multikv and it omitted the lines I wanted from the search.  Thanks!&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|multikv|regex _raw="^[^(-|\*).*$].*$"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Above I remove lines starting with "-" and "*".&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jan 2014 17:10:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/multikv-remove-unwanted-rows-from-results/m-p/110801#M183597</guid>
      <dc:creator>axsolis</dc:creator>
      <dc:date>2014-01-13T17:10:43Z</dc:date>
    </item>
  </channel>
</rss>

