This message originated from Cribl Community Slack.
Click here to view the original link.
Hello,
Where can I go and get more information on the Cribls Salesforce io pack? It seems as though there may be problem with the cursor/checkpoint mechanism.
Has anyone managed to get this working?
Thank you,
Marc
Solved
Cribl Stream: Salesforce IO pack cursor/checkpoint mechanism
Best answer by daniel.midgley700
This one is discovery:
``
View original"discoverUrl": "https://${C.vars['salesforce_domain']}/services/data/${C.vars['salesforce_api_version']}/query?q=SELECT Id,CreatedDate,Interval,LogDate,LogFile FROM EventLogFile WHERE Interval = 'Hourly' AND CreatedDate > + new Date(earliest ? earliest*1000 : Date.now()-900*1000).toISOString() + AND CreatedDate < + new Date(latest ? latest*1000 : Date.now()).toISOString() + ORDER BY CreatedDate ASC NULLS FIRST",
This one is the collection:
"collectUrl": "https://${C.vars['salesforce_domain']} + (LogFile ? /services/data/${C.vars['salesforce_api_version']}/sobjects/EventLogFile/${Id}/LogFile : nextRecordsUrl)"``Sign up
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
