<?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 Transpose and Timechart giving unnecessary fields in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Timechart-giving-unnecessary-fields/m-p/341771#M101264</link>
    <description>&lt;P&gt;After I transpose my timechart, I'm getting 3 fields under my Column that I want to get rid of: _span, _spandays, and _time.  It looks like this:&lt;/P&gt;

&lt;P&gt;column  | row 1 | row 2&lt;BR /&gt;
 _time      |   ###  | ###&lt;BR /&gt;
   ...           |     ....    |   ...&lt;BR /&gt;
_span       |&lt;BR /&gt;
_spandays|&lt;/P&gt;

&lt;P&gt;Is there a way to hide the rows or delete them?&lt;/P&gt;

&lt;P&gt;I've tried using &lt;CODE&gt;field - _span&lt;/CODE&gt;, but it doesn't work.&lt;/P&gt;

&lt;P&gt;Here's my search:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| timechart limit=1000 span=3month dc(user) by Customer&lt;BR /&gt;
| transpose&lt;BR /&gt;
| fields - _span&lt;BR /&gt;
| rename column as Customer, "row 1" as "3 Months Before", "row 2" as "Latest 3 Months"&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2017 16:28:54 GMT</pubDate>
    <dc:creator>jofermin</dc:creator>
    <dc:date>2017-08-02T16:28:54Z</dc:date>
    <item>
      <title>Transpose and Timechart giving unnecessary fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Timechart-giving-unnecessary-fields/m-p/341771#M101264</link>
      <description>&lt;P&gt;After I transpose my timechart, I'm getting 3 fields under my Column that I want to get rid of: _span, _spandays, and _time.  It looks like this:&lt;/P&gt;

&lt;P&gt;column  | row 1 | row 2&lt;BR /&gt;
 _time      |   ###  | ###&lt;BR /&gt;
   ...           |     ....    |   ...&lt;BR /&gt;
_span       |&lt;BR /&gt;
_spandays|&lt;/P&gt;

&lt;P&gt;Is there a way to hide the rows or delete them?&lt;/P&gt;

&lt;P&gt;I've tried using &lt;CODE&gt;field - _span&lt;/CODE&gt;, but it doesn't work.&lt;/P&gt;

&lt;P&gt;Here's my search:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| timechart limit=1000 span=3month dc(user) by Customer&lt;BR /&gt;
| transpose&lt;BR /&gt;
| fields - _span&lt;BR /&gt;
| rename column as Customer, "row 1" as "3 Months Before", "row 2" as "Latest 3 Months"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 16:28:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Timechart-giving-unnecessary-fields/m-p/341771#M101264</guid>
      <dc:creator>jofermin</dc:creator>
      <dc:date>2017-08-02T16:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose and Timechart giving unnecessary fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Timechart-giving-unnecessary-fields/m-p/341772#M101265</link>
      <description>&lt;P&gt;Add this to the end:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| regex column!=("^_")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or better yet add this before the transpose command:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| fields - _*
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Aug 2017 16:36:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Timechart-giving-unnecessary-fields/m-p/341772#M101265</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-08-02T16:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose and Timechart giving unnecessary fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Timechart-giving-unnecessary-fields/m-p/341773#M101266</link>
      <description>&lt;P&gt;you can do a &lt;CODE&gt;|search column!=_*&lt;/CODE&gt; after transpose&lt;BR /&gt;
or add &lt;CODE&gt;|fields - _*&lt;/CODE&gt; before transpose&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 16:39:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Timechart-giving-unnecessary-fields/m-p/341773#M101266</guid>
      <dc:creator>cmerriman</dc:creator>
      <dc:date>2017-08-02T16:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Transpose and Timechart giving unnecessary fields</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Timechart-giving-unnecessary-fields/m-p/341774#M101267</link>
      <description>&lt;P&gt;Thanks, both work perfectly!&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2017 16:59:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Transpose-and-Timechart-giving-unnecessary-fields/m-p/341774#M101267</guid>
      <dc:creator>jofermin</dc:creator>
      <dc:date>2017-08-02T16:59:43Z</dc:date>
    </item>
  </channel>
</rss>

