feat(integrations): log new events attributes
This commit is contained in:
parent
1c4505a62e
commit
b4ced1f28d
2 changed files with 2 additions and 1 deletions
|
|
@ -130,6 +130,7 @@ func (es *elasticsearch) Request(c *client) error {
|
|||
log.Println("No hits found")
|
||||
break
|
||||
}
|
||||
log.Printf("received %d hits",len(hits))
|
||||
for _, hit := range hits {
|
||||
|
||||
// Parse the attributes/fields of the document
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ func main() {
|
|||
log.Printf("Requesting all...\n")
|
||||
manager.RequestAll()
|
||||
case event := <-manager.Events:
|
||||
log.Printf("New integration event: %v\n", *event.RawErrorEvent)
|
||||
log.Printf("New integration event: %+v\n", *event.RawErrorEvent)
|
||||
sessionID := event.SessionID
|
||||
if sessionID == 0 {
|
||||
sessData, err := tokenizer.Parse(event.Token)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue