# Need help in file.conf for Logstash - Salesforce pipeline

**URL:** <https://discuss.elastic.co/t/need-help-in-file-conf-for-logstash-salesforce-pipeline/303720>\
**Category:** Logstash\
**Created:** [May 2, 2022, 8:21am UTC](https://discuss.elastic.co/t/need-help-in-file-conf-for-logstash-salesforce-pipeline/303720 "2022-05-02T08:21:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simone1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simone1/32/97834_2.png) [@Simone1](https://discuss.elastic.co/u/Simone1)\
**Post date:** [May 2, 2022, 8:21am UTC](https://discuss.elastic.co/t/need-help-in-file-conf-for-logstash-salesforce-pipeline/303720/1 "2022-05-02T08:21:57Z")

</div>

I'm trying to configure a pipeline to send Salesforce's data to Elasticsearch using Logstash.  
I created the a Connected App and flagged the OAuth 2.0 and i've put the callback url.  
Now, i have the client secret and the client id but how i can obtain the security\_token?

Wichi type of OAuth flow i have to configure?

Please help me

---

<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:** [May 30, 2022, 8:22am UTC](https://discuss.elastic.co/t/need-help-in-file-conf-for-logstash-salesforce-pipeline/303720/2 "2022-05-30T08:22:52Z")

</div>

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