<?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 extract multiple fields and values from the following raw information? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-extract-multiple-fields-and-values-from-the-following/m-p/379688#M166706</link>
    <description>&lt;P&gt;That actually seems to work &lt;/P&gt;

&lt;P&gt;There are still blanks in the output which is likely caused by the raw data within the same 'section' that contains e.g. s3://xxxx or https:// , so these are also seen as 'pairs' ...&lt;/P&gt;

&lt;P&gt;Is there a way exclude them from the output?&lt;/P&gt;

&lt;P&gt;Now they have no value &lt;/P&gt;</description>
    <pubDate>Thu, 08 Nov 2018 08:55:06 GMT</pubDate>
    <dc:creator>edwinmae</dc:creator>
    <dc:date>2018-11-08T08:55:06Z</dc:date>
    <item>
      <title>How can I extract multiple fields and values from the following raw information?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-extract-multiple-fields-and-values-from-the-following/m-p/379686#M166704</link>
      <description>&lt;P&gt;I have raw information as follows: Two times Kaspersky output within one 'section'&lt;/P&gt;

&lt;P&gt;------------------------------------------------------------ snip of one section --------------------------------------------------------------------&lt;/P&gt;

&lt;P&gt;08/11/2018&lt;BR /&gt;
07:43:58.000&lt;BR /&gt;&lt;BR /&gt;
kaspersky output: &lt;BR /&gt;
Scanned objects             : 19&lt;BR /&gt;
Total detected objects      : 0&lt;BR /&gt;
Infected and other objects  : 0&lt;BR /&gt;
Disinfected objects         : 0&lt;BR /&gt;
Moved to backup             : 0&lt;BR /&gt;
Removed objects             : 0&lt;BR /&gt;
Not disinfected objects     : 0&lt;BR /&gt;
Scan errors                 : 0&lt;BR /&gt;
Corrupted objects           : 0&lt;BR /&gt;
Password protected objects  : 0&lt;BR /&gt;
Skipped                     : 0&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;Between the above/below output are many lines with all kind of information that is not really relevant&lt;/EM&gt; &lt;/P&gt;

&lt;P&gt;kaspersky output: &lt;BR /&gt;
Scanned objects : 1&lt;BR /&gt;
Total detected objects : 0&lt;BR /&gt;
Infected and other objects : 0&lt;BR /&gt;
Disinfected objects : 0&lt;BR /&gt;
Moved to backup : 0 &lt;BR /&gt;
Removed objects : 0&lt;BR /&gt;
Not disinfected objects : 0&lt;BR /&gt;
Scan errors : 0&lt;BR /&gt;
Corrupted objects : 0&lt;BR /&gt;
Password protected objects : 0&lt;BR /&gt;
Skipped : 0&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;And then there are many lines in the bottom that is not really relevant as well&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;------------------------------------------------------------ snip of one section --------------------------------------------------------------------&lt;/P&gt;

&lt;P&gt;Target is to have e.g. a time table with the values of each line, e.g. field value would be e.g. "Scanned objects" and its value would be 19 and 1 (in this case) &lt;EM&gt;-- and then similar approach for all the other lines --&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;I tried to extract the fields using the Regular Expression, but it seems it does not select every value (of e.g. Scanned objects), meaning I have blanks in the output itself &lt;/P&gt;

&lt;P&gt;Please advise how to actually get this done&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 08:00:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-extract-multiple-fields-and-values-from-the-following/m-p/379686#M166704</guid>
      <dc:creator>edwinmae</dc:creator>
      <dc:date>2018-11-08T08:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I extract multiple fields and values from the following raw information?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-extract-multiple-fields-and-values-from-the-following/m-p/379687#M166705</link>
      <description>&lt;P&gt;Hi @edwinmae,&lt;BR /&gt;
try kv extraction below-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;....|kv  mv_add=true pairdelim="\r\n",kvdelim=":"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It will  separate key value pair&lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 08:10:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-extract-multiple-fields-and-values-from-the-following/m-p/379687#M166705</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-11-08T08:10:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I extract multiple fields and values from the following raw information?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-extract-multiple-fields-and-values-from-the-following/m-p/379688#M166706</link>
      <description>&lt;P&gt;That actually seems to work &lt;/P&gt;

&lt;P&gt;There are still blanks in the output which is likely caused by the raw data within the same 'section' that contains e.g. s3://xxxx or https:// , so these are also seen as 'pairs' ...&lt;/P&gt;

&lt;P&gt;Is there a way exclude them from the output?&lt;/P&gt;

&lt;P&gt;Now they have no value &lt;/P&gt;</description>
      <pubDate>Thu, 08 Nov 2018 08:55:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-extract-multiple-fields-and-values-from-the-following/m-p/379688#M166706</guid>
      <dc:creator>edwinmae</dc:creator>
      <dc:date>2018-11-08T08:55:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I extract multiple fields and values from the following raw information?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-extract-multiple-fields-and-values-from-the-following/m-p/379689#M166707</link>
      <description>&lt;P&gt;you can remove fields using&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|fields - &amp;lt;fieldname&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 08 Nov 2018 09:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-extract-multiple-fields-and-values-from-the-following/m-p/379689#M166707</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-11-08T09:14:09Z</dc:date>
    </item>
  </channel>
</rss>

