<?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 How to create pivot table containing some empty values? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-to-create-pivot-table-containing-some-empty-values/m-p/325320#M5866</link>
    <description>&lt;P&gt;Hello. I've got a problem. &lt;/P&gt;

&lt;P&gt;I have a logfile. &lt;BR /&gt;
And I would like to create a pivot table (url, referer) and export it to csv. &lt;BR /&gt;
But there is one problem: some refs are empty. &lt;BR /&gt;
Then splunk.... exports only these rows where ref is not empty. So, instead of including all rows, the exported CSV contains only ~5%,&lt;/P&gt;

&lt;P&gt;How to fix it?&lt;BR /&gt;
Thank you in advance for your help&lt;/P&gt;</description>
    <pubDate>Fri, 08 Dec 2017 11:48:37 GMT</pubDate>
    <dc:creator>Splunker2018</dc:creator>
    <dc:date>2017-12-08T11:48:37Z</dc:date>
    <item>
      <title>How to create pivot table containing some empty values?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-create-pivot-table-containing-some-empty-values/m-p/325320#M5866</link>
      <description>&lt;P&gt;Hello. I've got a problem. &lt;/P&gt;

&lt;P&gt;I have a logfile. &lt;BR /&gt;
And I would like to create a pivot table (url, referer) and export it to csv. &lt;BR /&gt;
But there is one problem: some refs are empty. &lt;BR /&gt;
Then splunk.... exports only these rows where ref is not empty. So, instead of including all rows, the exported CSV contains only ~5%,&lt;/P&gt;

&lt;P&gt;How to fix it?&lt;BR /&gt;
Thank you in advance for your help&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2017 11:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-create-pivot-table-containing-some-empty-values/m-p/325320#M5866</guid>
      <dc:creator>Splunker2018</dc:creator>
      <dc:date>2017-12-08T11:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to create pivot table containing some empty values?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-create-pivot-table-containing-some-empty-values/m-p/325321#M5867</link>
      <description>&lt;P&gt;I don't think the term "pivot table" is relevant. You just need a cross reference table.  Try this...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search that returns the records 
| fields url referrer
| eval referrer=coalesce(referrer,"")
| stats count by url referrer
| fields - count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Dec 2017 19:24:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-create-pivot-table-containing-some-empty-values/m-p/325321#M5867</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-12-08T19:24:49Z</dc:date>
    </item>
  </channel>
</rss>

