<?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 to pull out an array length in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-pull-out-an-array-length/m-p/720867#M2271</link>
    <description>&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;I will check on the length one, should be straightforward&lt;/P&gt;&lt;P&gt;To strip out e.g typeCode, you can use below, I use this quite a lot&lt;/P&gt;&lt;P&gt;toString().split(&amp;lt;typeCode&amp;gt;).[1].split(&amp;lt;/typeCode&amp;gt;).[0]&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;</description>
    <pubDate>Sat, 04 Jul 2020 16:45:39 GMT</pubDate>
    <dc:creator>Morelz</dc:creator>
    <dc:date>2020-07-04T16:45:39Z</dc:date>
    <item>
      <title>How to pull out an array length</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-pull-out-an-array-length/m-p/720866#M2270</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I am looking to be able to pull some different information out of an array that is being collected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;[Array (size 1):&lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;BR /&gt;&amp;lt;ValidationException inSyncReferenceResolution="false" xmlns:xsd="&lt;A href="http://www.w3.org/2001/XMLSchema" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema&lt;/A&gt;" xmlns:xsi="&lt;A href="http://www.w3.org/2001/XMLSchema-instance" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;" &amp;gt;&lt;BR /&gt;&amp;lt;creationDate&amp;gt;2020-05-19T06:36:50.196&amp;lt;/creationDate&amp;gt;&lt;BR /&gt;&amp;lt;typeCode&amp;gt;3&amp;lt;/typeCode&amp;gt;&lt;BR /&gt;&amp;lt;exceptionMessageCode&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;messageCode&amp;gt;43&amp;lt;/messageCode&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;codeDomainName&amp;gt;ClaimReviewMessageCode&amp;lt;/codeDomainName&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;messageDescription&amp;gt;Claim requires manual review because the provider is not&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;contracted&amp;lt;/messageDescription&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;policyName&amp;gt;ReviewNonParProviderClaim&amp;lt;/policyName&amp;gt;&lt;BR /&gt;&amp;lt;/exceptionMessageCode&amp;gt;&lt;BR /&gt;&amp;lt;/ValidationException&amp;gt;&lt;BR /&gt;]&lt;/P&gt;&lt;P&gt;1.the length of the array out using a getter chain.&amp;nbsp; I used the information below to try to pull the length but It keeps telling me it is invalid.&lt;/P&gt;&lt;PRE&gt;getUrl().split(\.).length&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;2. the message code which in this example is "43"&lt;/P&gt;&lt;P&gt;getURL.get(int/3).split().[1]&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 19 May 2020 13:45:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-pull-out-an-array-length/m-p/720866#M2270</guid>
      <dc:creator>Sean_Davey</dc:creator>
      <dc:date>2020-05-19T13:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to pull out an array length</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-pull-out-an-array-length/m-p/720867#M2271</link>
      <description>&lt;P&gt;Hi There&lt;/P&gt;&lt;P&gt;I will check on the length one, should be straightforward&lt;/P&gt;&lt;P&gt;To strip out e.g typeCode, you can use below, I use this quite a lot&lt;/P&gt;&lt;P&gt;toString().split(&amp;lt;typeCode&amp;gt;).[1].split(&amp;lt;/typeCode&amp;gt;).[0]&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Sat, 04 Jul 2020 16:45:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-pull-out-an-array-length/m-p/720867#M2271</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2020-07-04T16:45:39Z</dc:date>
    </item>
  </channel>
</rss>

