Hi Nuwan, Maneesha,
I am totally agree that now we have this information and can be provided in
another dashboard.

However, Current analytics is based on normal logs, not based on audit log.
I do not think it is right time to add the feature to read the audit logs,
since it is time to stabilise the code and do any bug fixes in current
code, before the APIM 2.0.0 GA.

I do not agree the $subject as a bug. But I would certainly want to add the
feature in the next proper release.

Cheers,
Ruwan

On Tue, Jul 5, 2016 at 3:35 PM, Nuwan Dias <nuw...@wso2.com> wrote:

> Yes, we now have audit logs on the API Manager for API create, update and
> remove. The ideal solution is to use these logs to derive those data.
>
> On Tue, Jul 5, 2016 at 1:42 PM, Maneesha Wijesekara <manee...@wso2.com>
> wrote:
>
>> Hi Sajith,
>>
>> Agreed with how the log analyzer works when an API is updated. But when
>> considering the user point of view, an API shouldn't be listed in 'Deleted
>> APIs' list if it's still available. Because a user might get confused when
>> the statistics in 'Deleted APIs' shows some API that he/she used right now.
>>
>> Any suggestion to overcome this ? Probably a change in logs when editing
>> an API might be a solution for this.
>>
>> Regards
>> Maneesha
>>
>> On Tue, Jul 5, 2016 at 1:11 PM, Sajith Perera <saji...@wso2.com> wrote:
>>
>>>
>>> Hi Maneesha,
>>>
>>> Log analyzer purely based on the log events which are generated by a
>>> particular product. For each stat, there are set of keywords and rules in
>>> log lines, which we are identifying as unique for that scenario.
>>>
>>> Regarding the above mentioned scenario, if there is an update on an API
>>> in given time frame, there will be two log lines printed with "Destroying"
>>> and "Initiating" keywords.
>>>
>>> 1. Deleted Artifact X
>>> 2. Created Artifact X
>>>
>>> These events are listed as "Deployed Api X" and "Deleted Api X" tables
>>> in the given time frame, as they are the "facts" within the given time
>>> frame.
>>>
>>> Thanks,
>>> SajithD
>>>
>>> On Tue, Jul 5, 2016 at 12:44 PM, Maneesha Wijesekara <manee...@wso2.com>
>>> wrote:
>>>
>>>> Hi all,
>>>>
>>>> Currently 'API Deployment Stats' in Log Analyzer listed both Deployed
>>>> APIs and Deleted APIs. But I've noticed that some available APIs (not yet
>>>> deleted) are also listed under 'Deleted APIs' [1]. The reason behind this
>>>> is when an API is edited, it will destroyed and again re-deployed. That log
>>>> will cause to include an available API under 'Deleted APIs'. But when it
>>>> comes to the function 'Deleted APIs', it should only list the names of APIs
>>>> which are actually deleted.
>>>>
>>>> Any thoughts on this ?
>>>>
>>>> [1] https://wso2.org/jira/browse/ANLYAPIM-79
>>>>
>>>> --
>>>> Maneesha Wijesekara
>>>> Software Engineer - QA Team
>>>> WSO2 Inc.
>>>>
>>>> Email: manee...@wso2.com
>>>> Linkedin: http://linkedin.com/in/maneeshawijesekara
>>>> Mobile: +94712443119
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> Dev@wso2.org
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Sajith Dimal
>>> Software Engineer
>>> Mobile : +94783101496
>>> WSO2 Inc. | http://wso2.com
>>> lean.enterprise.middleware
>>>
>>
>>
>>
>> --
>> Maneesha Wijesekara
>> Software Engineer - QA Team
>> WSO2 Inc.
>>
>> Email: manee...@wso2.com
>> Linkedin: http://linkedin.com/in/maneeshawijesekara
>> Mobile: +94712443119
>>
>
>
>
> --
> Nuwan Dias
>
> Technical Lead - WSO2, Inc. http://wso2.com
> email : nuw...@wso2.com
> Phone : +94 777 775 729
>



-- 

*Ruwan Abeykoon*
*Associate Director/Architect**,*
*WSO2, Inc. http://wso2.com <http://wso2.com/> *
*lean.enterprise.middleware.*

email: ruw...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to