[ 
https://issues.apache.org/jira/browse/UNOMI-873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17923618#comment-17923618
 ] 

Serge Huber commented on UNOMI-873:
-----------------------------------

I think that is an interesting suggestion. 

We do however already have Karaf Shell commands that will help with this 
notably the event-tail, rule-watch and rule-tail commands but they require SSH 
access to the Unomi instance.

> "Explain" for event collection
> ------------------------------
>
>                 Key: UNOMI-873
>                 URL: https://issues.apache.org/jira/browse/UNOMI-873
>             Project: Apache Unomi
>          Issue Type: New Feature
>            Reporter: Romain Gauthier
>            Priority: Major
>
> h3. Context: 
> When sending an event to unomi, it can be hard to understand: 
> - why the event was rejected 
> - which rules where executed 
> - what was the final request sent to ES 
> All these information can be useful during development, when trying to 
> understand why and how an event is processed.
> h3. Idea
> We could either:
> -  create a dedicated http endpoint "explainEvent" that would return the 
> explanations as part of the http response
> - add an option ?"explain=true" to context.json endpoint. We'd need to ensure 
> that this option is protected by authentication. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to