<?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: How to ignore some data from getting indexed? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294666#M55982</link>
    <description>&lt;P&gt;I updated the answer to give a safer regular expression&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2017 21:44:24 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2017-02-10T21:44:24Z</dc:date>
    <item>
      <title>How to ignore some data from getting indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294663#M55979</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have this data that I'd like to index&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;000d6f0004349d51.1: 
    Label: Front Door
    Manufacturer: SAMSUNG SDS
    Model: SHN-WDD510
    Firmware version: 0x00000005
    Hardware version: 1
    User Properties:
        NearEndRssi: -54
        NearEndLqi: 255
        batteryLow: false
        label: Front Door
        deadboltJammed: false
    Battery Operated: True
    Voltage: 6.0V
    FE radio: -57/255
    NE radio: -54/255
    Date added: Fri Dec 12 20:08:30 CST 2014
    Date of last communication: Fri Feb 10 12:45:59 CST 2017
    In Communication Failure: false
    In firmware upgrade failure: false
    Firmware upgrade available: false
    Is Locked: true
    Max Users: 100
    Operation Mode: normal

Success.
Exiting
Opened at /java/lib/normal.dat
Opened at /java/lib/native.dat
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I'd like to ignore &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Success.
    Exiting
    Opened at /java/lib/normal.dat
    Opened at /java/lib/native.dat
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;How would I go about doing that?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 19:23:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294663#M55979</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2017-02-10T19:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore some data from getting indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294664#M55980</link>
      <description>&lt;P&gt;FYI the data that I hope to ignore will ALWAYS be:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Success.
     Exiting
     Opened at /java/lib/normal.dat
     Opened at /java/lib/native.dat
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Feb 2017 20:04:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294664#M55980</guid>
      <dc:creator>dbcase</dc:creator>
      <dc:date>2017-02-10T20:04:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore some data from getting indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294665#M55981</link>
      <description>&lt;P&gt;You should use &lt;CODE&gt;SEDCMD&lt;/CODE&gt; in your &lt;CODE&gt;props.conf&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This is not tested, but should work (Try it in your Dev environment before applying in production)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[YourSourceType]
SEDCMD-strip-msg = s/Success\.\n\sExiting\n\sOpened\sat\s\/java.+\n\sOpened\sat.+//g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Don't forget to restart the Splunk service after making these changes to &lt;CODE&gt;props.conf&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 21:34:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294665#M55981</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-02-10T21:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore some data from getting indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294666#M55982</link>
      <description>&lt;P&gt;I updated the answer to give a safer regular expression&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 21:44:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294666#M55982</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-02-10T21:44:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to ignore some data from getting indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294667#M55983</link>
      <description>&lt;P&gt;@dbcase.. Did this solve your question? If so then please accept the answer&lt;/P&gt;</description>
      <pubDate>Wed, 15 Feb 2017 20:45:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-ignore-some-data-from-getting-indexed/m-p/294667#M55983</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-02-15T20:45:24Z</dc:date>
    </item>
  </channel>
</rss>

