<?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 exclude certain fields in json logs from being displayed on UI OR being indexed? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279756#M53562</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Is there a way to exclude certain fields from my JSON data? For example: I have the below JSON Format event with fields A , B and C.&lt;/P&gt;

&lt;P&gt;{&lt;/P&gt;

&lt;P&gt;A : XXXX..&lt;BR /&gt;
B : YYYY...&lt;BR /&gt;
C : ZZZZ....&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;Is there a way to remove the fields B and C along with its values from the search result?&lt;/P&gt;</description>
    <pubDate>Tue, 25 Oct 2016 10:43:35 GMT</pubDate>
    <dc:creator>saranya_fmr</dc:creator>
    <dc:date>2016-10-25T10:43:35Z</dc:date>
    <item>
      <title>How to exclude certain fields in json logs from being displayed on UI OR being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279756#M53562</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Is there a way to exclude certain fields from my JSON data? For example: I have the below JSON Format event with fields A , B and C.&lt;/P&gt;

&lt;P&gt;{&lt;/P&gt;

&lt;P&gt;A : XXXX..&lt;BR /&gt;
B : YYYY...&lt;BR /&gt;
C : ZZZZ....&lt;/P&gt;

&lt;P&gt;}&lt;/P&gt;

&lt;P&gt;Is there a way to remove the fields B and C along with its values from the search result?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Oct 2016 10:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279756#M53562</guid>
      <dc:creator>saranya_fmr</dc:creator>
      <dc:date>2016-10-25T10:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude certain fields in json logs from being displayed on UI OR being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279757#M53563</link>
      <description>&lt;P&gt;You can use &lt;CODE&gt;SEDCMD&lt;/CODE&gt; to replace with empty strings. See if this link helps&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.5.0/Data/Anonymizedata"&gt;http://docs.splunk.com/Documentation/Splunk/6.5.0/Data/Anonymizedata&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype stanza]
SEDCMD-removefieldB = s/B:\w+//g
SEDCMD-removefieldC = s/C:\w+//g
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 25 Oct 2016 13:36:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279757#M53563</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-25T13:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude certain fields in json logs from being displayed on UI OR being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279758#M53564</link>
      <description>&lt;P&gt;Thankyou..&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:27:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279758#M53564</guid>
      <dc:creator>sarnagar</dc:creator>
      <dc:date>2016-10-26T09:27:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude certain fields in json logs from being displayed on UI OR being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279759#M53565</link>
      <description>&lt;P&gt;Thankyou @sundareshr&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 09:47:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279759#M53565</guid>
      <dc:creator>saranya_fmr</dc:creator>
      <dc:date>2016-10-26T09:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude certain fields in json logs from being displayed on UI OR being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279760#M53566</link>
      <description>&lt;P&gt;@saranya_fmr, if you accept this answer, please mark the "accept" link and @sarnagar will get delicious karma points and the rest of us will know this works as an answer.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Oct 2016 15:54:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-certain-fields-in-json-logs-from-being-displayed/m-p/279760#M53566</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2016-10-26T15:54:56Z</dc:date>
    </item>
  </channel>
</rss>

