Oh I see... I was hitting the wrong URL. It is working now. Thank you very 
much for your help.

- Trisha

On Monday, September 12, 2016 at 9:00:59 AM UTC-7, Jochen Schalanda wrote:
>
> Hi Trisha,
>
> On Monday, 12 September 2016 17:57:14 UTC+2, Trisha Funtanilla wrote:
>>
>> I tried to make a simple GET request as a test to the api url: 
>> http://gl_host_name:12900/path where path is the value I annotated with 
>> @Path.
>>
>
> Plugin JAX-RS resources are imported using a specific namespace, e. g. 
> /plugins/org.example.plugin/<your 
> resource path>, and also need to be registered in Graylog.
>
> See https://github.com/Graylog2/graylog-plugin-anonymous-usage-statistics 
> for an example, especially the following classes:
>
>
>    - 
>    
> https://github.com/Graylog2/graylog-plugin-anonymous-usage-statistics/blob/2.1.0/src/main/java/org/graylog/plugins/usagestatistics/UsageStatsModule.java#L58-L59
>    - 
>    
> https://github.com/Graylog2/graylog-plugin-anonymous-usage-statistics/blob/2.1.0/src/main/java/org/graylog/plugins/usagestatistics/UsageStatsResource.java
>    
> Cheers,
> Jochen
>

-- 
You received this message because you are subscribed to the Google Groups 
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/ff2a9647-c3fd-485c-a481-196ab2024c3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to