feat(api): logs
This commit is contained in:
parent
5021fb7b02
commit
6a89867ba3
1 changed files with 2 additions and 1 deletions
|
|
@ -106,7 +106,8 @@ func (es *elasticsearch) Request(c *client) error {
|
|||
if err := json.NewEncoder(&buf).Encode(query); err != nil {
|
||||
return fmt.Errorf("Error encoding the query: %s", err)
|
||||
}
|
||||
log.Print("looking for logs")
|
||||
log.Print("looking for logs in index:")
|
||||
log.Print(es.Indexes)
|
||||
res, err := esC.Search(
|
||||
esC.Search.WithContext(context.Background()),
|
||||
esC.Search.WithIndex(es.Indexes),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue