<?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 come Apache web server logs being sent to nullQueue are still being indexed? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420155#M73993</link>
    <description>&lt;P&gt;Have you verified the regex works in a tool like regex101.com?&lt;/P&gt;</description>
    <pubDate>Mon, 08 Oct 2018 20:43:04 GMT</pubDate>
    <dc:creator>kmorris_splunk</dc:creator>
    <dc:date>2018-10-08T20:43:04Z</dc:date>
    <item>
      <title>How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420154#M73992</link>
      <description>&lt;P&gt;I have the universal forwarder pushed out to some Apache web servers that are indexing some access logs. I would like to send events that represent status checks to nullQueue so they are not indexed. Seems like a pretty simple task to accomplish, but inspection of the logs confirms the events are still being indexed. Here is my props/transforms on my indexers:&lt;/P&gt;

&lt;P&gt;Here is a sample event:&lt;BR /&gt;
&lt;STRONG&gt;10.10.10.10 - - [08/Oct/2018:14:51:33 -0500] "GET /heartbeat_flow HTTP/1.1" 200 7 "-" "-" - -&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Here is my props/transforms on my indexers:&lt;BR /&gt;
&lt;STRONG&gt;[access_combined]&lt;BR /&gt;
TRANSFORMS-SendHealthChecksToNull = SendHealthChecksToNull1,SendHealthChecksToNull2&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;[SendHealthChecksToNull1]&lt;BR /&gt;
REGEX = GET (?:\/.*)?\/(?:DateServlet|dateservlet.ashx|ping)\/? HTTP\/1.1&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;[SendHealthChecksToNull2]&lt;BR /&gt;
REGEX = GET (?:\/secure\/webmon\/monitor.html|\/heartbeat_flow|\/wps\/portal\/dpath\/monitor|\/webmon\/test.html|\/mf_monitor|\/applicationDBcheck.php|\/check.txt) HTTP\/1.1&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;What am I doing wrong?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:34:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420154#M73992</guid>
      <dc:creator>_smp_</dc:creator>
      <dc:date>2020-09-29T21:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420155#M73993</link>
      <description>&lt;P&gt;Have you verified the regex works in a tool like regex101.com?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 20:43:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420155#M73993</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2018-10-08T20:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420156#M73994</link>
      <description>&lt;P&gt;Yep, I have. It matches.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Oct 2018 20:51:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420156#M73994</guid>
      <dc:creator>_smp_</dc:creator>
      <dc:date>2018-10-08T20:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420157#M73995</link>
      <description>&lt;P&gt;can you try first only one like below to check if it is working-&lt;BR /&gt;
in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access_combined]
TRANSFORMS-SendHealthChecksToNull = SendHealthChecksToNull2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in transforms.conf -&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[SendHealthChecksToNull2]
REGEX = GET\s\/(secure|webmon|monitor\.html|heartbeat_flow|wps|portal|dpath|monitor|test\.html|mf_monitor|applicationDBcheck\.php|check\.txt)\sHTTP\/1.1
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 09 Oct 2018 04:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420157#M73995</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-10-09T04:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420158#M73996</link>
      <description>&lt;P&gt;Hi scottprigge,&lt;BR /&gt;
have you an Heavy Forwarder between Universal Forwarder and Indexers?&lt;BR /&gt;
if yes, you have to put your filter on the Heavy Forwarder.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 07:49:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420158#M73996</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-10-09T07:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420159#M73997</link>
      <description>&lt;P&gt;No, there is no HF in play. It's just UF on the web servers forwarding to the indexers.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 12:21:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420159#M73997</guid>
      <dc:creator>_smp_</dc:creator>
      <dc:date>2018-10-09T12:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420160#M73998</link>
      <description>&lt;P&gt;@scottprigge, have you tried this on indexer?&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 12:33:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420160#M73998</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-10-09T12:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420161#M73999</link>
      <description>&lt;P&gt;Ok,&lt;BR /&gt;
so try to have two different commands in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access_combined]
TRANSFORMS-SendHealthChecksToNull1 = SendHealthChecksToNull1
TRANSFORMS-SendHealthChecksToNull2 = SendHealthChecksToNull2
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 12:35:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420161#M73999</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-10-09T12:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420162#M74000</link>
      <description>&lt;P&gt;Yes, all the config I referenced is on the indexer.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 12:39:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420162#M74000</guid>
      <dc:creator>_smp_</dc:creator>
      <dc:date>2018-10-09T12:39:57Z</dc:date>
    </item>
    <item>
      <title>Re: How come Apache web server logs being sent to nullQueue are still being indexed?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420163#M74001</link>
      <description>&lt;P&gt;The issue was using a space instead of \s in the REGEX stanza. Thanks for the post!&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2018 12:41:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-Apache-web-server-logs-being-sent-to-nullQueue-are/m-p/420163#M74001</guid>
      <dc:creator>_smp_</dc:creator>
      <dc:date>2018-10-09T12:41:24Z</dc:date>
    </item>
  </channel>
</rss>

