<?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 get the total number of items in an array in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-get-the-total-number-of-items-in-an-array/m-p/718214#M868</link>
    <description>&lt;P&gt;Hi Sean&lt;/P&gt;&lt;P&gt;You will have to provide a bit more context as to what the entire data structure is that will be queried.&lt;/P&gt;&lt;P&gt;Is it always the same data structure, with different values?&lt;/P&gt;&lt;P&gt;Meaning is the array always in a certain section of the returned data, where would be the start and end pieces in the data to better answer your question.&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;</description>
    <pubDate>Fri, 24 Jul 2020 09:50:53 GMT</pubDate>
    <dc:creator>Morelz</dc:creator>
    <dc:date>2020-07-24T09:50:53Z</dc:date>
    <item>
      <title>How to get the total number of items in an array</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-get-the-total-number-of-items-in-an-array/m-p/718211#M865</link>
      <description>&lt;P&gt;I am looking to get the total number of items in an array, so in the example below the data collect would display the number 9.&amp;nbsp; Does anyone know a good getter chain for this.&amp;nbsp; So far everything I have tried hasnt worked&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&amp;lt;QueryResultSet&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Metadata&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Column name="cvcId" type="java.lang.Long"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Column name="owner" type="java.lang.String"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Column name="groupName" type="java.lang.String"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Column name="opsName" type="java.lang.String"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Column name="cvcType" type="java.lang.String"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Column name="claimSystemId" type="java.lang.Long"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Column name="hccClaimNumber" type="java.lang.String"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Column name="receiptDate" type="java.sql.Date"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Column name="claimType" type="java.lang.String"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 19:54:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-get-the-total-number-of-items-in-an-array/m-p/718211#M865</guid>
      <dc:creator>Sean_Davey</dc:creator>
      <dc:date>2020-07-21T19:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the total number of items in an array</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-get-the-total-number-of-items-in-an-array/m-p/718212#M866</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;You should be able to use the below&lt;/P&gt;&lt;P&gt;toString().split(Column).length&lt;/P&gt;&lt;P&gt;Just check the value, I will double check but I think this getter chain returns the array count+1 for some reason.&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jul 2020 22:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-get-the-total-number-of-items-in-an-array/m-p/718212#M866</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2020-07-21T22:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the total number of items in an array</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-get-the-total-number-of-items-in-an-array/m-p/718213#M867</link>
      <description>&lt;P&gt;Thanks Mario.&lt;/P&gt;&lt;P&gt;This seems to have worked...How do I get it so that it will only look at that one section of the array and not go to other data being pulled?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jul 2020 17:46:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-get-the-total-number-of-items-in-an-array/m-p/718213#M867</guid>
      <dc:creator>Sean_Davey</dc:creator>
      <dc:date>2020-07-22T17:46:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the total number of items in an array</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-get-the-total-number-of-items-in-an-array/m-p/718214#M868</link>
      <description>&lt;P&gt;Hi Sean&lt;/P&gt;&lt;P&gt;You will have to provide a bit more context as to what the entire data structure is that will be queried.&lt;/P&gt;&lt;P&gt;Is it always the same data structure, with different values?&lt;/P&gt;&lt;P&gt;Meaning is the array always in a certain section of the returned data, where would be the start and end pieces in the data to better answer your question.&lt;/P&gt;&lt;P&gt;Ciao&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jul 2020 09:50:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/How-to-get-the-total-number-of-items-in-an-array/m-p/718214#M868</guid>
      <dc:creator>Morelz</dc:creator>
      <dc:date>2020-07-24T09:50:53Z</dc:date>
    </item>
  </channel>
</rss>

