<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:46:11 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[TSDR-27] Log aggregation on the fly not working</title>
                <link>https://jira.opendaylight.org/browse/TSDR-27</link>
                <project id="10179" key="TSDR">tsdr</project>
                    <description>&lt;p&gt;I tried this example:&lt;/p&gt;

&lt;p&gt;curl -G -v -H &quot;Accept: application/json&quot; -H &quot;Authorization: Basic YWRtaW46YWRtaW4=&quot; &quot;http://localhost:8181/tsdr/metrics/query&quot; --data-urlencode &quot;tsdrkey=&lt;span class=&quot;error&quot;&gt;&amp;#91;NID=&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=FLOWSTATS&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;RK=&amp;#93;&lt;/span&gt;&quot; --data-urlencode &quot;from=0&quot; --data-urlencode &quot;until=2400000000&quot; --data-urlencode &quot;interval=6000000&quot; --data-urlencode &quot;aggregation=MEAN&quot; &amp;gt; test&lt;/p&gt;


&lt;p&gt;Here, (until - from) / interval = 400&lt;/p&gt;

&lt;p&gt;However, I still receive a thousand, non-aggregated records.&lt;/p&gt;

&lt;p&gt;Here is the output of the curl command:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;Trying 127.0.0.1...&lt;br/&gt;
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current&lt;br/&gt;
                                 Dload  Upload   Total   Spent    Left  Speed&lt;br/&gt;
  0     0    0     0    0     0      0      0 -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;- -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;- -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;-     0* Connected to localhost (127.0.0.1) port 8181 (#0)&lt;br/&gt;
&amp;gt; GET /tsdr/metrics/query?tsdrkey=%5BNID%3D%5D%5BDC%3DFLOWSTATS%5D%5BRK%3D%5D&amp;amp;from=0&amp;amp;until=2400000000&amp;amp;interval=6000000&amp;amp;aggregation=MEAN HTTP/1.1&lt;br/&gt;
&amp;gt; Host: localhost:8181&lt;br/&gt;
&amp;gt; User-Agent: curl/7.45.0&lt;br/&gt;
&amp;gt; Accept: application/json&lt;br/&gt;
&amp;gt; Authorization: Basic YWRtaW46YWRtaW4=&lt;br/&gt;
&amp;gt; &lt;br/&gt;
&amp;lt; HTTP/1.1 201 Created&lt;br/&gt;
&amp;lt; Set-Cookie: JSESSIONID=1uin4b3kbe5es4zlvlng17igc;Path=/tsdr&lt;br/&gt;
&amp;lt; Expires: Thu, 01 Jan 1970 00:00:00 GMT&lt;br/&gt;
&amp;lt; Set-Cookie: rememberMe=deleteMe; Path=/tsdr; Max-Age=0; Expires=Sun, 12-Jun-2016 11:36:49 GMT&lt;br/&gt;
&amp;lt; Content-Type: application/json&lt;br/&gt;
&amp;lt; Transfer-Encoding: chunked&lt;br/&gt;
&amp;lt; Server: Jetty(8.1.17.v20150415)&lt;br/&gt;
&amp;lt; &lt;br/&gt;
{ &lt;span class=&quot;error&quot;&gt;&amp;#91;16071 bytes data&amp;#93;&lt;/span&gt;&lt;br/&gt;
100  178k    0  178k    0     0  19.6M      0 -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;- -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;- -&lt;del&gt;:&lt;/del&gt;&lt;del&gt;:&lt;/del&gt;- 21.8M&lt;/li&gt;
	&lt;li&gt;Connection #0 to host localhost left intact&lt;/li&gt;
&lt;/ul&gt;
</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26791">TSDR-27</key>
            <summary>Log aggregation on the fly not working</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="jesse@opennms.org">Jesse White</assignee>
                                    <reporter username="a.alhamali93@gmail.com">AbdulRahman AlHamali</reporter>
                        <labels>
                    </labels>
                <created>Mon, 20 Jun 2016 06:26:21 +0000</created>
                <updated>Wed, 31 Aug 2016 20:55:13 +0000</updated>
                            <resolved>Wed, 31 Aug 2016 20:55:13 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="53829" author="saichler@cisco.com" created="Mon, 18 Jul 2016 18:52:15 +0000"  >&lt;p&gt;I have switch the &quot;interval&quot; value with &quot;maxDataPoints&quot; so now the user, when aggregating, can specify how many point he wants to received from the period.&lt;br/&gt;
The new curl command looks as follows:&lt;/p&gt;

&lt;p&gt;curl -G -v -H &quot;Accept: application/json&quot; -H &quot;Authorization: Basic YWRtaW46YWRtaW4=&quot; &quot;http://localhost:8181/tsdr/metrics/query&quot; --data-urlencode &quot;tsdrkey=&lt;span class=&quot;error&quot;&gt;&amp;#91;NID=Controller&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;DC=EXTERNAL&amp;#93;&lt;/span&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;MN=Heap:Memory:Usage&amp;#93;&lt;/span&gt;&quot; --data-urlencode &quot;from=0&quot; --data-urlencode &quot;until=2400000000&quot; --data-urlencode &quot;maxDataPoints=4&quot; --data-urlencode &quot;aggregation=MEAN&quot; &amp;gt; test&lt;/p&gt;


&lt;p&gt;In the above example i requested only 4 points...&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>6087</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=6087]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02vi7:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>