<?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 to append a single value to multiple rows in my table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-a-single-value-to-multiple-rows-in-my-table/m-p/220149#M64710</link>
    <description>&lt;P&gt;Try &lt;CODE&gt;... | filldown TotalCVE | eval perc=...&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 09 Aug 2016 18:00:58 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2016-08-09T18:00:58Z</dc:date>
    <item>
      <title>How to append a single value to multiple rows in my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-a-single-value-to-multiple-rows-in-my-table/m-p/220148#M64709</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;base search| mvexpand Name | stats dc(Name) as totalcve by severity | appendcols [|inputlookup lookupname| stats count(Name) as TotalCVE] |eval perc=tostring(totalcve/TotalCVE*100, "commas")."%
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have a search that outputs below table&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Severity    totalCVE    TotalCVE    perc
High        2000        10000       20%
Medium      1000
Low         500
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How can I append a single value (TotalCVE) to multiple rows and get perc for medium and low severities?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 17:12:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-a-single-value-to-multiple-rows-in-my-table/m-p/220148#M64709</guid>
      <dc:creator>ashishlal82</dc:creator>
      <dc:date>2016-08-09T17:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to append a single value to multiple rows in my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-a-single-value-to-multiple-rows-in-my-table/m-p/220149#M64710</link>
      <description>&lt;P&gt;Try &lt;CODE&gt;... | filldown TotalCVE | eval perc=...&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2016 18:00:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-a-single-value-to-multiple-rows-in-my-table/m-p/220149#M64710</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-08-09T18:00:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to append a single value to multiple rows in my table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-a-single-value-to-multiple-rows-in-my-table/m-p/220150#M64711</link>
      <description>&lt;P&gt;Give this a try &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; base search| mvexpand Name | stats dc(Name) as totalcve by severity | eval TotalCVE=[|inputlookup lookupname| stats count(Name) as search ] |eval perc=tostring(totalcve/TotalCVE*100, "commas")."%
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Aug 2016 18:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-a-single-value-to-multiple-rows-in-my-table/m-p/220150#M64711</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-09T18:30:07Z</dc:date>
    </item>
  </channel>
</rss>

