<?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: Read regex based data from a log file using splunk forwarder in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Read-regex-based-data-from-a-log-file-using-splunk-forwarder/m-p/542707#M153726</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232160"&gt;@raunakomar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Search the community for nullQueue. You'll find many examples similar to this:&lt;/P&gt;&lt;P&gt;# props.conf&lt;BR /&gt;[foo]&lt;BR /&gt;TRANSFORMS-sendToNullQueue = sendToNullQueue&lt;/P&gt;&lt;P&gt;# transforms.conf&lt;BR /&gt;[sendToNullQueue]&lt;BR /&gt;REGEX = no new data found&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;Your REGEX value should contain a regular expression matching the events you want to exclude.&lt;/P&gt;&lt;P&gt;See also&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.2/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest" target="_self"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.2/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Sat, 06 Mar 2021 22:22:11 GMT</pubDate>
    <dc:creator>tscroggins</dc:creator>
    <dc:date>2021-03-06T22:22:11Z</dc:date>
    <item>
      <title>Read regex based data from a log file using splunk forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Read-regex-based-data-from-a-log-file-using-splunk-forwarder/m-p/542531#M153685</link>
      <description>&lt;P&gt;I have log file which polls an endpoint and if new version has come then only performs the operation. All the polling (whether new version is available or not ) are logged into log file. I am trying to read this log file which is working fine. But I want to avoid redundant polling logs and send only those logs where new version was found. Can this be done on splunk forwarder using input.conf file?&lt;/P&gt;</description>
      <pubDate>Fri, 05 Mar 2021 10:40:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Read-regex-based-data-from-a-log-file-using-splunk-forwarder/m-p/542531#M153685</guid>
      <dc:creator>raunakomar</dc:creator>
      <dc:date>2021-03-05T10:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: Read regex based data from a log file using splunk forwarder</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Read-regex-based-data-from-a-log-file-using-splunk-forwarder/m-p/542707#M153726</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/232160"&gt;@raunakomar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Search the community for nullQueue. You'll find many examples similar to this:&lt;/P&gt;&lt;P&gt;# props.conf&lt;BR /&gt;[foo]&lt;BR /&gt;TRANSFORMS-sendToNullQueue = sendToNullQueue&lt;/P&gt;&lt;P&gt;# transforms.conf&lt;BR /&gt;[sendToNullQueue]&lt;BR /&gt;REGEX = no new data found&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;Your REGEX value should contain a regular expression matching the events you want to exclude.&lt;/P&gt;&lt;P&gt;See also&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.2/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest" target="_self"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.2/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 22:22:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Read-regex-based-data-from-a-log-file-using-splunk-forwarder/m-p/542707#M153726</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2021-03-06T22:22:11Z</dc:date>
    </item>
  </channel>
</rss>

