Logstash Salesforce Plugin embed REST API to monitor logs


#1

Hello,

I am new to ELK and I am trying to ingest Salesforce logs into ELK stack. I am using Salesforce plugin available online. I was wondering if I can insert a REST API to query and monitor a Salesforce sobject. I am trying to run the below query and embed it int input section of the plugin.
services/data/v43.0/query?q=SELECT+Id+,+EventType+,+LogFile+,+LogDate+,+LogFileLength+FROM+EventLogFile+WHERE+LogDate+>+Yesterday+AND+EventType+=+'API'

  1. is it possible to monitor objects using REST API?