<?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: Discard one or more fields of a specific event without losing the rest of the fields of this event? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385913#M95760</link>
    <description>&lt;P&gt;Just by complementing, it would be a way to reduce the size of the log by reducing license consumption before indexing the events.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Jan 2019 13:17:02 GMT</pubDate>
    <dc:creator>jfeitosa_real</dc:creator>
    <dc:date>2019-01-04T13:17:02Z</dc:date>
    <item>
      <title>Discard one or more fields of a specific event without losing the rest of the fields of this event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385912#M95759</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Please, how to discard one or more fields of a specific event without losing the rest of the fields of this event?&lt;/P&gt;

&lt;P&gt;It's possible?&lt;/P&gt;

&lt;P&gt;Thank you very much in advance.&lt;/P&gt;

&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 13:10:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385912#M95759</guid>
      <dc:creator>jfeitosa_real</dc:creator>
      <dc:date>2019-01-04T13:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Discard one or more fields of a specific event without losing the rest of the fields of this event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385913#M95760</link>
      <description>&lt;P&gt;Just by complementing, it would be a way to reduce the size of the log by reducing license consumption before indexing the events.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 13:17:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385913#M95760</guid>
      <dc:creator>jfeitosa_real</dc:creator>
      <dc:date>2019-01-04T13:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: Discard one or more fields of a specific event without losing the rest of the fields of this event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385914#M95761</link>
      <description>&lt;P&gt;See &lt;A href="https://answers.splunk.com/answers/4752/disabling-or-removing-extra-description-text-in-windows-2008-event-logs.html"&gt;https://answers.splunk.com/answers/4752/disabling-or-removing-extra-description-text-in-windows-2008-event-logs.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 13:56:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385914#M95761</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-01-04T13:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Discard one or more fields of a specific event without losing the rest of the fields of this event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385915#M95762</link>
      <description>&lt;P&gt;@richgalloway . In my case, they are Fortigate firewall logs. &lt;BR /&gt;
How would it work if I were to discard the fields &lt;EM&gt;srcintfrole = "undefined"&lt;/EM&gt; and &lt;EM&gt;dstintfrole = "undefined"&lt;/EM&gt; for example.&lt;/P&gt;

&lt;P&gt;See log example:&lt;/P&gt;

&lt;P&gt;Jan  4 15:02:17 10.1.1.1 date=2019-01-04 time=15:04:13 devname="fwA1" devid="FWA11" logid="0000000010" type="traffic" subtype="forward" level="notice" vd="root" eventtime=1546621453 srcip=10.2.2.1 srcport=54256 srcintf="port1" srcintfrole="undefined" dstip=216.152.102.6 dstport=443 dstintf="port1" dstintfrole="undefined" sessionid=410471 poluuid="1348e-602-5e8-7fb-bfbab974" dstcountry="Brazil" srccountry="Reserved" service="HTTPS" wanoptapptype="web-proxy" proto=6 action="accept" duration=0 policyid=103 policytype="proxy-policy" user="USER1" group="G-Default" wanin=0 rcvdbyte=0 wanout=0 lanin=1418 sentbyte=1418 lanout=2561 appcat="unscanned" utmaction="allow" countweb=1&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 17:23:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385915#M95762</guid>
      <dc:creator>jfeitosa_real</dc:creator>
      <dc:date>2019-01-04T17:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Discard one or more fields of a specific event without losing the rest of the fields of this event?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385916#M95763</link>
      <description>&lt;P&gt;Those are two fairly small fields.  Unless all events contain them, you're likely not saving much by eliminating them.  The example I cited removed hundreds of characters from verbose Windows events.&lt;/P&gt;

&lt;P&gt;If you still want to do it, the trick is to create a regular expression that parses your event into groups of wanted and unwanted text.  Then the &lt;CODE&gt;FORMAT&lt;/CODE&gt; setting puts only the wanted groups into the event.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jan 2019 18:12:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Discard-one-or-more-fields-of-a-specific-event-without-losing/m-p/385916#M95763</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-01-04T18:12:02Z</dc:date>
    </item>
  </channel>
</rss>

