<?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 remove or delete duplicate event entries from a file before indexing using inputs.conf, props.conf or a perl script? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-remove-or-delete-duplicate-event-entries-from-a-file/m-p/136657#M28151</link>
    <description>&lt;P&gt;Hi, while waiting for a better solution, let met tell you that you can do it after indexing: &lt;BR /&gt;
1- after identifying the duplicated event or file.&lt;BR /&gt;
2-build a query that fetch what you want to remove and pipe it with delete.&lt;BR /&gt;
3- you can scheduled that search to run periodically.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Now to export event you can use the command dump:&lt;BR /&gt;
1- you build the query that map the event you want to export.&lt;BR /&gt;
2- then you pipe like this .....l dump basefilename=MyExport&lt;/P&gt;

&lt;P&gt;Note: see all the options for the dump command in the splunk search reference manual.&lt;/P&gt;

&lt;P&gt;You can also do an outputcsv.&lt;BR /&gt;
After that scheduled the search to run each 15min.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Apr 2015 08:36:19 GMT</pubDate>
    <dc:creator>stephane_cyrill</dc:creator>
    <dc:date>2015-04-07T08:36:19Z</dc:date>
    <item>
      <title>How to remove or delete duplicate event entries from a file before indexing using inputs.conf, props.conf or a perl script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-remove-or-delete-duplicate-event-entries-from-a-file/m-p/136656#M28150</link>
      <description>&lt;P&gt;Before indexing, how do I delete, remove, or avoid duplicate log files or events coming from a saturated file on the server and export events or log files every 15 minutes?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2015 07:51:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-remove-or-delete-duplicate-event-entries-from-a-file/m-p/136656#M28150</guid>
      <dc:creator>kkarthik2</dc:creator>
      <dc:date>2015-04-07T07:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove or delete duplicate event entries from a file before indexing using inputs.conf, props.conf or a perl script?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-remove-or-delete-duplicate-event-entries-from-a-file/m-p/136657#M28151</link>
      <description>&lt;P&gt;Hi, while waiting for a better solution, let met tell you that you can do it after indexing: &lt;BR /&gt;
1- after identifying the duplicated event or file.&lt;BR /&gt;
2-build a query that fetch what you want to remove and pipe it with delete.&lt;BR /&gt;
3- you can scheduled that search to run periodically.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;Now to export event you can use the command dump:&lt;BR /&gt;
1- you build the query that map the event you want to export.&lt;BR /&gt;
2- then you pipe like this .....l dump basefilename=MyExport&lt;/P&gt;

&lt;P&gt;Note: see all the options for the dump command in the splunk search reference manual.&lt;/P&gt;

&lt;P&gt;You can also do an outputcsv.&lt;BR /&gt;
After that scheduled the search to run each 15min.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2015 08:36:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-remove-or-delete-duplicate-event-entries-from-a-file/m-p/136657#M28151</guid>
      <dc:creator>stephane_cyrill</dc:creator>
      <dc:date>2015-04-07T08:36:19Z</dc:date>
    </item>
  </channel>
</rss>

