<?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: remove _raw field from table view in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42989#M179115</link>
    <description>&lt;P&gt;You have to restart splunkweb. &lt;CODE&gt;$ splunk restart splunkweb&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 04 May 2012 09:37:28 GMT</pubDate>
    <dc:creator>ziegfried</dc:creator>
    <dc:date>2012-05-04T09:37:28Z</dc:date>
    <item>
      <title>remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42978#M179104</link>
      <description>&lt;P&gt;Is it possible to remove _raw field from search results in table view? I guess this change came with Splunk 4.3. ... | fields - _raw is not an option, as i'd like to get to default behaviour from Splunk 4.2 which was not cluttering search results in table view... &lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 14:47:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42978#M179104</guid>
      <dc:creator>lutel</dc:creator>
      <dc:date>2012-05-03T14:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42979#M179105</link>
      <description>&lt;P&gt;You could use the &lt;CODE&gt;table&lt;/CODE&gt; command. You will still be able to view the raw text in the eventsviewer and additionally have a (transformed) results table to look at fields of interest. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | table host user some_other_field ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 03 May 2012 16:15:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42979#M179105</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-05-03T16:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42980#M179106</link>
      <description>&lt;P&gt;Thank you for prompt response, but this is no option for me, as i want to remove this _raw fields from all the results from different indexes in this view, also i want to have it to be default for all the users. This _raw field breaks formatting and makes output ugly. This is really step backward from version 4.2 &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 16:32:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42980#M179106</guid>
      <dc:creator>lutel</dc:creator>
      <dc:date>2012-05-03T16:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42981#M179107</link>
      <description>&lt;P&gt;This sounds weird. Perhaps we're misunderstanding what you're trying to do. Please post &lt;/P&gt;

&lt;P&gt;a) your search&lt;BR /&gt;
b) your output&lt;BR /&gt;
c) your desired output&lt;/P&gt;

&lt;P&gt;That way we'd be able to help you better&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Thu, 03 May 2012 18:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42981#M179107</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-05-03T18:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42982#M179108</link>
      <description>&lt;P&gt;a) search query doesn't matter, _raw field always appears in "Table" view of main search output (with exception of ... | fields - _raw)&lt;BR /&gt;
b) output - log entries split into fields but with undesired _raw field...&lt;BR /&gt;
c) output without this _raw field....&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 07:13:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42982#M179108</guid>
      <dc:creator>lutel</dc:creator>
      <dc:date>2012-05-04T07:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42983#M179109</link>
      <description>&lt;P&gt;Sorry, but I still don't understand your problem.&lt;/P&gt;

&lt;P&gt;As ziegfried says above, &lt;CODE&gt; ... | table field1 field2 &lt;/CODE&gt; does not include &lt;CODE&gt;_raw&lt;/CODE&gt; in the table. &lt;/P&gt;

&lt;P&gt;Perhaps we have a different understanding of what "table  view" means?&lt;BR /&gt;
/k&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 07:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42983#M179109</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-05-04T07:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42984#M179110</link>
      <description>&lt;P&gt;In the results window, you can switch between "events lists", "table" and "results chart" (three icons in the results window) - i'm refering to this "table" view... I don't want to modify each query for this, "... | fields - _raw" gives me desired output, but i want to have this behaviour by default... As it was in 4.2...&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 07:56:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42984#M179110</guid>
      <dc:creator>lutel</dc:creator>
      <dc:date>2012-05-04T07:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42985#M179111</link>
      <description>&lt;P&gt;Aah, I see.. Didn't know that any default behaviour had changed. Perhaps there is some system-wide setting that can be configured to alter this. &lt;/P&gt;

&lt;P&gt;In the mean time, why  not use the &lt;CODE&gt;fields&lt;/CODE&gt; or &lt;CODE&gt;table&lt;/CODE&gt; approach to get the results you need/want.&lt;/P&gt;

&lt;P&gt;/k&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 08:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42985#M179111</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2012-05-04T08:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42986#M179112</link>
      <description>&lt;P&gt;You could use the following Javascript code to hide the _raw field from all SimpleResultsTables in an app:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;if(Splunk.Module.SimpleResultsTable) {
    var orig = Splunk.Module.SimpleResultsTable.prototype.onResultsRendered;
    Splunk.Module.SimpleResultsTable.prototype.onResultsRendered = function() {
        orig.call(this);
        $('th', this.container).each(function(i, el){
            if(/^_raw\s*$/.test($(el).text())) $(el).hide();
        });
        $('td[field=_raw]', this.container).hide();
    }
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Simply place this code in &lt;CODE&gt;$SPLUNK_HOME/etc/apps/search/appserver/static/application.js&lt;/CODE&gt; (Or any other app, where you want to hide the _raw field).&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 08:27:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42986#M179112</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-05-04T08:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42987#M179113</link>
      <description>&lt;P&gt;Hah! Snap, I was just writing up the same (similar) piece of code&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 08:31:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42987#M179113</guid>
      <dc:creator>Drainy</dc:creator>
      <dc:date>2012-05-04T08:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42988#M179114</link>
      <description>&lt;P&gt;Thank you for this code! Could you tell me how can i activate it in default installation? I've copied it as you wrote to $SPLUNK_HOME/etc/apps/search/appserver/static/application.js but this file is not included when the page loads...&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 09:35:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42988#M179114</guid>
      <dc:creator>lutel</dc:creator>
      <dc:date>2012-05-04T09:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42989#M179115</link>
      <description>&lt;P&gt;You have to restart splunkweb. &lt;CODE&gt;$ splunk restart splunkweb&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 09:37:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42989#M179115</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-05-04T09:37:28Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42990#M179116</link>
      <description>&lt;P&gt;And make sure you clear the browser cache.&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 09:37:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42990#M179116</guid>
      <dc:creator>ziegfried</dc:creator>
      <dc:date>2012-05-04T09:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42991#M179117</link>
      <description>&lt;P&gt;im not using fields approach as my installation is used by other users and i want to keep it as simple and clean as possible for them. I've got a lot of extracted fields in each event and this _raw field makes the output ugly now:(&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 09:38:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42991#M179117</guid>
      <dc:creator>lutel</dc:creator>
      <dc:date>2012-05-04T09:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: remove _raw field from table view</title>
      <link>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42992#M179118</link>
      <description>&lt;P&gt;Works like a charm! Thank you for this piece of code!&lt;/P&gt;</description>
      <pubDate>Fri, 04 May 2012 09:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/remove-raw-field-from-table-view/m-p/42992#M179118</guid>
      <dc:creator>lutel</dc:creator>
      <dc:date>2012-05-04T09:47:33Z</dc:date>
    </item>
  </channel>
</rss>

