Hi Sinthuja,

I built master branch after analytics-common version upgrade and now I can
see the dashboard and gadgets. I followed the README file [1]. Even though
scripts are executed every minute, I couldn't see any data in dashboard. I
published data using step 6 in README. I checked the tables/data-sources
related with the gadgets in data explorer and spark console. There is no
data in the table. Am I missing anything?

[1]
https://github.com/wso2/product-bam/tree/master/modules/samples/publishers/httpd-logs

Thanks.

On Sun, Aug 30, 2015 at 11:52 PM, Sinthuja Ragendran <[email protected]>
wrote:

> Hi Thanuja,
>
> I verified the sample today with my local build which was build today with
> latest code. And I can see the dashboards, and gadgets without any issue. I
> hope you have followed the steps mentioned in the README.txt of
> httpd-logs-sample directory. Please check with the latest pack.
>
> Thanks,
> Sinthuja.
>
> On Fri, Aug 28, 2015 at 9:15 AM, Sinthuja Ragendran <[email protected]>
> wrote:
>
>> Hi Thanuja,
>>
>> Yes, the entire sample was working before. Let me check with latest pack
>> and see whether there are issues.
>>
>> Thanks,
>> Sinthuja
>>
>>
>> On Friday, August 28, 2015, Thanuja Uruththirakodeeswaran <
>> [email protected]> wrote:
>>
>>> Hi Sinthuja,
>>>
>>> Is the *Httpd_Log_Analytics* sample ready now? I've added the sample
>>> car file to DAS, but I couldn't see its dashboard or gadgets in DAS
>>> analytics dashboard portal.
>>>
>>> Thanks.
>>>
>>> On Mon, Aug 17, 2015 at 5:47 PM, Sinthuja Ragendran <[email protected]>
>>> wrote:
>>>
>>>> Hi Thanuja,
>>>>
>>>>
>>>> On Mon, Aug 17, 2015 at 5:38 PM, Thanuja Uruththirakodeeswaran <
>>>> [email protected]> wrote:
>>>>
>>>>> Hi Sinthuja,
>>>>>
>>>>> Thanks. It's working. I deployed the Httpd_Log_Analytics" sample after
>>>>> uncomment the line in its artifacts.xml [1] file. It gives following
>>>>> message in server console. What's the reason for this?
>>>>>
>>>>> [2015-08-17 17:20:35,193]  INFO
>>>>> {org.wso2.carbon.application.deployer.internal.ApplicationManager} -
>>>>>  Deploying Carbon Application : Httpd_Log_Analytics.car...
>>>>> [2015-08-17 17:20:35,215] ERROR
>>>>> {org.wso2.carbon.application.deployer.internal.ApplicationManager} -  Some
>>>>> dependencies in cApp : Httpd_Log_Analytics_1.0.0 were not satisfied. Check
>>>>> whether all dependent artifacts are included in cApp file :
>>>>> /home/thanujau/Documents/Project/wso2das-3.0.0-SNAPSHOT/repository/deployment/server/carbonapps/Httpd_Log_Analytics.car
>>>>>
>>>>>
>>>> This sample yet to be completed with dashboard files, and there are
>>>> some issues in gadget files, hence you are experiencing the exception.
>>>>
>>>>
>>>>> And if we create a dashboard in DAS, where can we find dashboard json
>>>>> file?
>>>>>
>>>>
>>>>  It's in the registry /_system/config/ues/dashboards/ location.
>>>>
>>>> Thanks,
>>>> Sinthuja
>>>>
>>>>>
>>>>> [1].
>>>>> https://github.com/wso2/product-bam/blob/master/modules/samples/capps/Httpd_Log_Analytics/artifacts.xml
>>>>>
>>>>> Thanks.
>>>>>
>>>>> On Mon, Aug 17, 2015 at 4:21 PM, Sinthuja Ragendran <[email protected]
>>>>> > wrote:
>>>>>
>>>>>> Hi Thanuja,
>>>>>>
>>>>>> You can set the cron expression with CronExpression element in the
>>>>>> spark script artifact xml as shown below.
>>>>>>
>>>>>> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
>>>>>> <Analytics>
>>>>>>     <Name>AddNewScriptTestWithouTask</Name>
>>>>>>     <Script>define table TEST_CAPP (server_name string, ip STRING,
>>>>>> tenant INTEGER, sequence LONG, summary STRING);SELECT ip FROM
>>>>>> TEST_CAPP;SELECT server_name, count(*) FROM TEST_CAPP GROUP BY
>>>>>> server_name;</Script>
>>>>>>     <CronExpression>0 * * * * ?</CronExpression>
>>>>>> </Analytics>
>>>>>>
>>>>>> Thanks,
>>>>>> Sinthuja.
>>>>>>
>>>>>> On Mon, Aug 17, 2015 at 4:15 PM, Thanuja Uruththirakodeeswaran <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> I've followed the link [1] and referred sample "Httpd_Log_Analytics"
>>>>>>> [2] for creating a car file and deploy that in DAS. Here if we want to 
>>>>>>> use
>>>>>>> the spark script, we can use a file as in [3].
>>>>>>>
>>>>>>> But if the spark script need to be executed for every minute, how we
>>>>>>> can add the Cron expression in the script configuration xml?
>>>>>>>
>>>>>>> [1].
>>>>>>> https://docs.wso2.com/display/DAS300/Carbon+Application+Deployment+for+DAS
>>>>>>> [2].
>>>>>>> https://github.com/wso2/product-bam/tree/master/modules/samples/capps/Httpd_Log_Analytics
>>>>>>> [3].
>>>>>>> https://github.com/wso2/product-bam/blob/master/modules/samples/capps/Httpd_Log_Analytics/Sparkscripts_1.0.0/httpd_log_analytics.xml
>>>>>>>
>>>>>>> Thanks.
>>>>>>>
>>>>>>> --
>>>>>>> Thanuja Uruththirakodeeswaran
>>>>>>> Software Engineer
>>>>>>> WSO2 Inc.;http://wso2.com
>>>>>>> lean.enterprise.middleware
>>>>>>>
>>>>>>> mobile: +94 774363167
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Dev mailing list
>>>>>>> [email protected]
>>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> *Sinthuja Rajendran*
>>>>>> Associate Technical Lead
>>>>>> WSO2, Inc.:http://wso2.com
>>>>>>
>>>>>> Blog: http://sinthu-rajan.blogspot.com/
>>>>>> Mobile: +94774273955
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thanuja Uruththirakodeeswaran
>>>>> Software Engineer
>>>>> WSO2 Inc.;http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> mobile: +94 774363167
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Sinthuja Rajendran*
>>>> Associate Technical Lead
>>>> WSO2, Inc.:http://wso2.com
>>>>
>>>> Blog: http://sinthu-rajan.blogspot.com/
>>>> Mobile: +94774273955
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanuja Uruththirakodeeswaran
>>> Software Engineer
>>> WSO2 Inc.;http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> mobile: +94 774363167
>>>
>>
>>
>> --
>> Sent from iPhone
>>
>
>
>
> --
> *Sinthuja Rajendran*
> Associate Technical Lead
> WSO2, Inc.:http://wso2.com
>
> Blog: http://sinthu-rajan.blogspot.com/
> Mobile: +94774273955
>
>
>


-- 
Thanuja Uruththirakodeeswaran
Software Engineer
WSO2 Inc.;http://wso2.com
lean.enterprise.middleware

mobile: +94 774363167
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to