<?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: Can't replace a healthcheck string in nginx in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108274#M28156</link>
    <description>&lt;P&gt;Are you sure this configuration is in the right place? See &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Configurationparametersandthedatapipeline"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Configurationparametersandthedatapipeline&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 31 Oct 2012 06:14:16 GMT</pubDate>
    <dc:creator>gkanapathy</dc:creator>
    <dc:date>2012-10-31T06:14:16Z</dc:date>
    <item>
      <title>Can't replace a healthcheck string in nginx</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108273#M28155</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have looked at the docs and tried to remove a line from nginx access log regarding our LB :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;192.168.27.169 - - [30/Oct/2012:23:02:53 +0000] "GET /node/lbtest.txt HTTP/1.0" 200 9 "-" "HTTP-Monitor/1.1" "-"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Started GET "/node/lbtest.txt" for 127.0.0.1 at 2012-10-30 23:55:58 +0000
Processing by HealthCheckController#lbtest as TXT
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here is my &lt;CODE&gt;props.conf&lt;/CODE&gt; :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[sourcetype::access_combined_wcookie]
TRANSFORMS-ignore=ignore

[sourcetype::production-2]
TRANSFORMS-null=setnull

[sourcetype::access_combined_wcookie]
TRANSFORMS-null2=nukefromorbit

[host::app*]
SEDCMD-health = s/lbtest/DEVOPS/g
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Please note that &lt;CODE&gt;production-2&lt;/CODE&gt;, &lt;CODE&gt;access_combined_wcookie&lt;/CODE&gt; sourcetypes parse Nginx logs. &lt;/P&gt;

&lt;P&gt;The host sending the event is &lt;CODE&gt;app-05&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;Here is my &lt;CODE&gt;transforms.conf&lt;/CODE&gt; :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ignore]
REGEX = (?m)*lbtest*
DEST_KEY = queue
FORMAT = nullQueue

[setnull]
REGEX = lbtest|HealthCheckController
DEST_KEY = queue
FORMAT = nullQueue

[nukefromorbit]
REGEX = *
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This conf is obviously destructive by nature (as in, way beyond removing this lbtest line, mix-n-matching), as I've tried anything possible to remove this line from the logs.&lt;/P&gt;

&lt;P&gt;I have restarted splunk forwarder and I'm running out of solutions.&lt;/P&gt;

&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2012 00:01:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108273#M28155</guid>
      <dc:creator>scalp42</dc:creator>
      <dc:date>2012-10-31T00:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can't replace a healthcheck string in nginx</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108274#M28156</link>
      <description>&lt;P&gt;Are you sure this configuration is in the right place? See &lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Configurationparametersandthedatapipeline"&gt;http://docs.splunk.com/Documentation/Splunk/5.0/Admin/Configurationparametersandthedatapipeline&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2012 06:14:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108274#M28156</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-10-31T06:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can't replace a healthcheck string in nginx</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108275#M28157</link>
      <description>&lt;P&gt;I'm pretty sure it is :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;Parsing&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;props.conf

LINE_BREAKER, SHOULD_LINEMERGE, BREAK_ONLY_BEFORE_DATE, and all other line     merging settings
TZ, DATETIME_CONFIG, TIME_FORMAT, TIME_PREFIX, and all other time extraction     settings and rules
TRANSFORMS* which includes per-event queue filtering, per-event index    assignment, per-event routing. Applied in the order defined
SEDCMD*
MORE_THAN*, LESS_THAN*

transforms.conf`

stanzas referenced by a TRANSFORMS* clause in props.conf
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 31 Oct 2012 18:18:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108275#M28157</guid>
      <dc:creator>scalp42</dc:creator>
      <dc:date>2012-10-31T18:18:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can't replace a healthcheck string in nginx</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108276#M28158</link>
      <description>&lt;P&gt;I guess my point was, is it on the right server?&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2012 18:53:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108276#M28158</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-10-31T18:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can't replace a healthcheck string in nginx</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108277#M28159</link>
      <description>&lt;P&gt;I think it has to be on the forwarder/nginx host.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Oct 2012 23:13:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-t-replace-a-healthcheck-string-in-nginx/m-p/108277#M28159</guid>
      <dc:creator>scalp42</dc:creator>
      <dc:date>2012-10-31T23:13:15Z</dc:date>
    </item>
  </channel>
</rss>

