Unable to retrieve fields in email


#1

Hi All,

I have set email configuration and I am able to receive the static email. When I changed body to dynamic I can't retrieve e.x. hostname.

I can see the fields in Kibana Search. I am able to get only the fields available in ctx. Below is my ctx:

{
"ctx" : {
"metadata" : {
"name" : "fuse file managment "
},
"watch_id" : "fuse-file-management",
"payload" : {
"_shards" : {
"total" : 378,
"failed" : 0,
"successful" : 378,
"skipped" : 0
},
"hits" : {
"hits" : [ ],
"total" : 414648,
"max_score" : 0.0
},
"took" : 155,
"timed_out" : false
},
"id" : "fuse-file-management_ae826335-a488-45cc-912f-68fc6cc69885-2018-01-04T05:55:34.640Z",
"trigger" : {
"triggered_time" : "2018-01-04T05:55:34.640Z",
"scheduled_time" : "2018-01-04T05:55:34.427Z"
},
"vars" : { },
"execution_time" : "2018-01-04T05:55:34.640Z"
}
}


(Alexander Reelsen) #2

please share your watch, the output of the execute watch api (or a watch history entry) for proper debugging. Thanks!

--Alex


#3

oops my bad, I set body size to 0 so nothing is displayed.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.