Skip to main content
Member
November 28, 2023
Solved

Smart Integration Function logging

  • November 28, 2023
  • 1 reply
  • 0 views

Is there a way to log messages to the Error log within a Smart Integration Function that is running on the Local Gateway?  I notice when a new SIF is created, none of the OneStream libraries are available.  

I did find an example where the OneStreamGatewayService library was included.  Is there any documentation on this library?

Thanks,

Scott

Best answer by JackLacava

The current documentation is:

  • https://documentation.onestream.com/release_8.1/Content/SIC/Overview.html - I would particularly check https://documentation.onestream.com/release_8.1/Content/SIC/Business%20Rules.html
  • https://onestream.thoughtindustries.com/learn/course/onestream-architecture-smart-integration-connector-sic/introduction-to-the-onestream-smart-integration-connector/welcome-to-the-onestream-smart-integration-connector?client=employee
  • https://vimeo.com/792838439/409d5a35de

The library you mention is not covered in detail, although it is referenced in the guide. I guess intellisense might help you there. I can't see anything pre-built on pulling log messages to OneStream, although you could do it manually with this sort of logic:

  1. write a SIC function that looks at the local logs for events of a certain type and returns them
  2. write an Extender to invoke that function and write results to the OneStream log
  3. trigger the Extender every few minutes with a Data Management job.

If it looks like a lot of manual work for something that should be built-in - it might well be 😅 feel free to post a request for the feature in IdeaStream.

1 reply

OneStream Employee
December 4, 2023

The current documentation is:

  • https://documentation.onestream.com/release_8.1/Content/SIC/Overview.html - I would particularly check https://documentation.onestream.com/release_8.1/Content/SIC/Business%20Rules.html
  • https://onestream.thoughtindustries.com/learn/course/onestream-architecture-smart-integration-connector-sic/introduction-to-the-onestream-smart-integration-connector/welcome-to-the-onestream-smart-integration-connector?client=employee
  • https://vimeo.com/792838439/409d5a35de

The library you mention is not covered in detail, although it is referenced in the guide. I guess intellisense might help you there. I can't see anything pre-built on pulling log messages to OneStream, although you could do it manually with this sort of logic:

  1. write a SIC function that looks at the local logs for events of a certain type and returns them
  2. write an Extender to invoke that function and write results to the OneStream log
  3. trigger the Extender every few minutes with a Data Management job.

If it looks like a lot of manual work for something that should be built-in - it might well be 😅 feel free to post a request for the feature in IdeaStream.