<?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: Log monitor Extension in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/Log-monitor-Extension/m-p/735571#M9452</link>
    <description>&lt;P&gt;Hi Satish,&lt;BR /&gt;This looks very promising thanks, will test and advise. Greatly appreciated thanks!&lt;BR /&gt;Regards,&lt;BR /&gt;Dean&lt;/P&gt;</description>
    <pubDate>Thu, 17 Aug 2017 07:17:51 GMT</pubDate>
    <dc:creator>Dean_Moses</dc:creator>
    <dc:date>2017-08-17T07:17:51Z</dc:date>
    <item>
      <title>Log monitor Extension</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Log-monitor-Extension/m-p/735569#M9450</link>
      <description>&lt;P&gt;Hi there! I would like to know if there is perhaps a way to escape special characters inside the string pattern of the log monitor. Example:&lt;/P&gt;

&lt;P&gt;"...searchStrings:&lt;BR /&gt;#displayName Should be unique across the patterns including the case.&lt;/P&gt;

&lt;P&gt;- displayName: "DynamicErrorCodes"&lt;BR /&gt;pattern: "&amp;lt;ns0':'ResultMsgCode&amp;gt;.*?&amp;lt;/ns0':'ResultMsgCode&amp;gt;"&lt;BR /&gt;matchExactString: false&lt;BR /&gt;caseSensitive: false..."&lt;/P&gt;

&lt;P&gt;It seems as though the special character, in this case, is the ":" inside the "&lt;SPAN&gt;&amp;lt;ns0':'ResultMsgCode&amp;gt;..." part. I have tried using \\; ''; and ". The issue with this is that in appD it only shows the "&amp;lt;ns0" when it should display the entire string. I have attached a screenshot of the result in the attached pdf. Please assist?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Dean&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2017 12:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Log-monitor-Extension/m-p/735569#M9450</guid>
      <dc:creator>Dean_Moses</dc:creator>
      <dc:date>2017-08-15T12:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Log monitor Extension</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Log-monitor-Extension/m-p/735570#M9451</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Dean,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;MachineAgent uses ":" to separate metric names and values and this is the reason you are not seeing the whole string in the metric name. Try using "metricCharacterReplacer" config option to replace ":" with some other character. You can find a sample config at&amp;nbsp;&lt;A href="https://github.com/Appdynamics/log-monitoring-extension/blob/master/src/main/resources/conf/config.yaml" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Appdynamics/log-monitoring-extension/blob/master/src/main/resources/conf/config.yaml&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN&gt;Please create a help desk ticket (&lt;A href="mailto:help@appdynamics.com" target="_blank" rel="nofollow noopener noreferrer"&gt;help@appdynamics.com&lt;/A&gt;&amp;nbsp;) with MachineAgent debug logs if this does not solve the problem.&lt;/SPAN&gt;&lt;/P&gt;


&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Satish M&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 06:24:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Log-monitor-Extension/m-p/735570#M9451</guid>
      <dc:creator>Satish_Muddam1</dc:creator>
      <dc:date>2017-08-17T06:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Log monitor Extension</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Log-monitor-Extension/m-p/735571#M9452</link>
      <description>&lt;P&gt;Hi Satish,&lt;BR /&gt;This looks very promising thanks, will test and advise. Greatly appreciated thanks!&lt;BR /&gt;Regards,&lt;BR /&gt;Dean&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 07:17:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Log-monitor-Extension/m-p/735571#M9452</guid>
      <dc:creator>Dean_Moses</dc:creator>
      <dc:date>2017-08-17T07:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Log monitor Extension</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/Log-monitor-Extension/m-p/735572#M9453</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did some more digging, according to yaml.org this seems to be a limitation:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://yaml.org/spec/1.2/spec.html#id2795688" target="_blank" rel="noopener nofollow noreferrer"&gt;http://yaml.org/spec/1.2/spec.html#id2795688&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;“…Inside literal scalars, all (&lt;A href="http://yaml.org/spec/1.2/spec.html#space/indentation/" target="_blank" rel="noopener nofollow noreferrer"&gt;indented&lt;/A&gt;) characters are considered to be&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#content//" target="_blank" rel="noopener nofollow noreferrer"&gt;content&lt;/A&gt;, including&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#space/white/" target="_blank" rel="noopener nofollow noreferrer"&gt;white space&lt;/A&gt;&amp;nbsp;characters. Note that all&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#line break//" target="_blank" rel="noopener nofollow noreferrer"&gt;line break&lt;/A&gt;&amp;nbsp;characters are&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#line break/normalization/" target="_blank" rel="noopener nofollow noreferrer"&gt;normalized&lt;/A&gt;. In addition,&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#empty line//" target="_blank" rel="noopener nofollow noreferrer"&gt;empty lines&lt;/A&gt;&amp;nbsp;are not&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#style/block/folded" target="_blank" rel="noopener nofollow noreferrer"&gt;folded&lt;/A&gt;, though final&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#line break//" target="_blank" rel="noopener nofollow noreferrer"&gt;line breaks&lt;/A&gt;&amp;nbsp;and trailing&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#empty line//" target="_blank" rel="noopener nofollow noreferrer"&gt;empty lines&lt;/A&gt;&amp;nbsp;are&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#chomping//" target="_blank" rel="noopener nofollow noreferrer"&gt;chomped&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;There is no way to escape characters inside literal scalars. This restricts them to&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#printable character//" target="_blank" rel="noopener nofollow noreferrer"&gt;printable&lt;/A&gt;&amp;nbsp;characters. In addition, there is no way to break a long literal line.&lt;/P&gt;
&lt;TABLE width="100%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="50%"&gt;
&lt;TABLE width="99%"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;[171]&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;l-nb-literal-text(n)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;::=&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="999"&gt;
&lt;P&gt;&lt;A href="http://yaml.org/spec/1.2/spec.html#l-empty(n,c)" target="_blank" rel="noopener nofollow noreferrer"&gt;l-empty(n,block-in)&lt;/A&gt;*&lt;BR /&gt;&lt;A href="http://yaml.org/spec/1.2/spec.html#s-indent(n)" target="_blank" rel="noopener nofollow noreferrer"&gt;s-indent(n)&lt;/A&gt;&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#nb-char" target="_blank" rel="noopener nofollow noreferrer"&gt;nb-char&lt;/A&gt;+&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;

&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;[172]&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;b-nb-literal-next(n)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;::=&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="999"&gt;
&lt;P&gt;&lt;A href="http://yaml.org/spec/1.2/spec.html#b-as-line-feed" target="_blank" rel="noopener nofollow noreferrer"&gt;b-as-line-feed&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://yaml.org/spec/1.2/spec.html#l-nb-literal-text(n)" target="_blank" rel="noopener nofollow noreferrer"&gt;l-nb-literal-text(n)&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;

&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;
&lt;P&gt;[173]&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;l-literal-content(n,t)&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;
&lt;P&gt;::=&lt;/P&gt;
&lt;/TD&gt;
&lt;TD width="999"&gt;
&lt;P&gt;(&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#l-nb-literal-text(n)" target="_blank" rel="noopener nofollow noreferrer"&gt;l-nb-literal-text(n)&lt;/A&gt;&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#b-nb-literal-next(n)" target="_blank" rel="noopener nofollow noreferrer"&gt;b-nb-literal-next(n)&lt;/A&gt;*&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;A href="http://yaml.org/spec/1.2/spec.html#b-chomped-last(t)" target="_blank" rel="noopener nofollow noreferrer"&gt;b-chomped-last(t)&lt;/A&gt;&amp;nbsp;)?&lt;BR /&gt;&lt;A href="http://yaml.org/spec/1.2/spec.html#l-chomped-empty(n,t)" target="_blank" rel="noopener nofollow noreferrer"&gt;l-chomped-empty(n,t)&lt;/A&gt;&lt;/P&gt;
&lt;/TD&gt;
&lt;TD&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;

&lt;P&gt;Tried using “\” but this breaks the logmonitor:&lt;/P&gt;
&lt;P&gt;“…[Agent-Monitor-Scheduler-4] 17 Aug 2017 10:34:32,506 ERROR LogMonitor - Unfortunately an issue has occurred:&lt;/P&gt;
&lt;P&gt;while scanning a quoted scalar&lt;/P&gt;
&lt;P&gt;in 'reader', line 24, column 19:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pattern: '&amp;lt;ns0\:ResultMsgCode&amp;gt;.*?&amp;lt;/ns0\:R ...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;^&lt;/P&gt;
&lt;P&gt;found the unexpected end of stream&lt;/P&gt;
&lt;P&gt;in 'reader', line 44, column 1:…”&lt;/P&gt;
&lt;P&gt;Tried it in single quotes as well as no quotes and this chops the rest of the string off as it does with double-quotes. Replacing special characters seems to be the best method, many thanks for your assistance Satish &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Dean&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 09:31:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/Log-monitor-Extension/m-p/735572#M9453</guid>
      <dc:creator>Dean_Moses</dc:creator>
      <dc:date>2017-08-17T09:31:02Z</dc:date>
    </item>
  </channel>
</rss>

