# Logstash Salesforce Plugin embed REST API to monitor logs

**URL:** <https://discuss.elastic.co/t/logstash-salesforce-plugin-embed-rest-api-to-monitor-logs/158223>\
**Category:** Logstash\
**Created:** [November 26, 2018, 4:45pm UTC](https://discuss.elastic.co/t/logstash-salesforce-plugin-embed-rest-api-to-monitor-logs/158223 "2018-11-26T16:45:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashishlal](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@ashishlal](https://discuss.elastic.co/u/ashishlal)\
**Post date:** [November 26, 2018, 4:45pm UTC](https://discuss.elastic.co/t/logstash-salesforce-plugin-embed-rest-api-to-monitor-logs/158223/1 "2018-11-26T16:45:33Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 24, 2018, 4:45pm UTC](https://discuss.elastic.co/t/logstash-salesforce-plugin-embed-rest-api-to-monitor-logs/158223/2 "2018-12-24T16:45:36Z")

</div>

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