<?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: Updated props/transforms don't change the search result in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329371#M61089</link>
    <description>&lt;P&gt;I've got a host which adds the processing time to the end of nginx log line. This looks like the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;client_ip - - [03/Mar/2017:09:54:56 +1100] "GET /some/path HTTP/1.1" 200 233474 "https://some/referer" "useragent" "cookies" "0.662"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This normally gets parsed by &lt;CODE&gt;access_combined_wcookie&lt;/CODE&gt;, but sticks "0.662" into "other" field. I want to create a &lt;CODE&gt;req_duration&lt;/CODE&gt;, so I added &lt;CODE&gt;apps/marketplace/default/props.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access_combined_wcookie]
[source::/var/log/marketplace/nginx-access.log]
REPORT-access = access-extractions-marketplace
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and &lt;CODE&gt;apps/marketplace/default/transforms.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access-extractions-marketplace]
# based on system access-extractions, but with extra req_duration at the end
REGEX = ^[[nspaces:clientip]]\s++[[nspaces:ident]]\s++[[nspaces:user]]\s++[[sbstring:req_time]]\s++[[access-request]]\s++[[nspaces:status]]\s++[[nspaces:bytes]](?:\s++"(?&amp;lt;referer&amp;gt;[[bc_domain:referer_]]?+[^"]*+)"(?:\s++[[qstring:useragent]](?:\s++[[qstring:cookie]])?+)?+)?\s++"[[float:req_duration]]"[[all:other]]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The search results are not changed however. All looks the same after reloads.&lt;/P&gt;</description>
    <pubDate>Thu, 02 Mar 2017 23:03:33 GMT</pubDate>
    <dc:creator>viraptor</dc:creator>
    <dc:date>2017-03-02T23:03:33Z</dc:date>
    <item>
      <title>Updated props/transforms don't change the search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329367#M61085</link>
      <description>&lt;P&gt;I've updated the props in on a 6.1 server. Checked with &lt;CODE&gt;btool&lt;/CODE&gt; which claims my configs are acceptable.&lt;/P&gt;

&lt;P&gt;I've also checked &lt;CODE&gt;btool props&lt;/CODE&gt; and see the updated &lt;CODE&gt;REPORT-access&lt;/CODE&gt; as well as &lt;CODE&gt;EVAL-some_name&lt;/CODE&gt;.&lt;/P&gt;

&lt;P&gt;I tried loading &lt;CODE&gt;/debug/refresh&lt;/CODE&gt; which does show &lt;CODE&gt;Refreshing admin/transforms-extract     OK&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;But when loading a few lines from the logs, I don't see any fields which I added. Neither the ones from a new &lt;CODE&gt;REPORT&lt;/CODE&gt;, nor the one from &lt;CODE&gt;EVAL&lt;/CODE&gt;. Everything looks just like it did before.&lt;/P&gt;

&lt;P&gt;What else am I missing? Is there something else I can try to debug?&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 06:00:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329367#M61085</guid>
      <dc:creator>viraptor</dc:creator>
      <dc:date>2017-03-02T06:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Updated props/transforms don't change the search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329368#M61086</link>
      <description>&lt;P&gt;have you restarted splunk since changing the .confs??&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:57:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329368#M61086</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-03-02T14:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: Updated props/transforms don't change the search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329369#M61087</link>
      <description>&lt;P&gt;Are you certain that the data has the same sourcetype as you specified in props.conf and transforms.conf? Might you have a typo in one or more of these files? btool is great, but it only checks syntax. btool can't test the actual formatting or regular expressions since it only looks at the configuration files, not the data.&lt;/P&gt;

&lt;P&gt;If these hints don't help, please post the relevant stanzas from props.conf and transforms.conf. A little sample data (properly anonymized of course) would also be useful to help the community answer your question.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 16:31:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329369#M61087</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2017-03-02T16:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Updated props/transforms don't change the search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329370#M61088</link>
      <description>&lt;P&gt;@DalJeanis no, according to the docs, the reload should be enough to do this.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 22:43:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329370#M61088</guid>
      <dc:creator>viraptor</dc:creator>
      <dc:date>2017-03-02T22:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Updated props/transforms don't change the search result</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329371#M61089</link>
      <description>&lt;P&gt;I've got a host which adds the processing time to the end of nginx log line. This looks like the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;client_ip - - [03/Mar/2017:09:54:56 +1100] "GET /some/path HTTP/1.1" 200 233474 "https://some/referer" "useragent" "cookies" "0.662"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This normally gets parsed by &lt;CODE&gt;access_combined_wcookie&lt;/CODE&gt;, but sticks "0.662" into "other" field. I want to create a &lt;CODE&gt;req_duration&lt;/CODE&gt;, so I added &lt;CODE&gt;apps/marketplace/default/props.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access_combined_wcookie]
[source::/var/log/marketplace/nginx-access.log]
REPORT-access = access-extractions-marketplace
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and &lt;CODE&gt;apps/marketplace/default/transforms.conf&lt;/CODE&gt;:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[access-extractions-marketplace]
# based on system access-extractions, but with extra req_duration at the end
REGEX = ^[[nspaces:clientip]]\s++[[nspaces:ident]]\s++[[nspaces:user]]\s++[[sbstring:req_time]]\s++[[access-request]]\s++[[nspaces:status]]\s++[[nspaces:bytes]](?:\s++"(?&amp;lt;referer&amp;gt;[[bc_domain:referer_]]?+[^"]*+)"(?:\s++[[qstring:useragent]](?:\s++[[qstring:cookie]])?+)?+)?\s++"[[float:req_duration]]"[[all:other]]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The search results are not changed however. All looks the same after reloads.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Mar 2017 23:03:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Updated-props-transforms-don-t-change-the-search-result/m-p/329371#M61089</guid>
      <dc:creator>viraptor</dc:creator>
      <dc:date>2017-03-02T23:03:33Z</dc:date>
    </item>
  </channel>
</rss>

