<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Logging Integration with Sentry,io in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210342#M8792</link>
    <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Also, did you get ANY response from the Response tLogRow or the Error tLogRow? What&amp;nbsp; input column were you passing the data to (your JSON)?&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;Yes, sorry I tested with HTTP and HTTPS...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;STRONG&gt;HTTP gives me the error:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P class="p2"&gt;308|&amp;lt;html&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;308 Permanent Redirect&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;body bgcolor="white"&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;center&amp;gt;&amp;lt;h1&amp;gt;308 Permanent Redirect&amp;lt;/h1&amp;gt;&amp;lt;/center&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;hr&amp;gt;&amp;lt;center&amp;gt;nginx/1.13.12&amp;lt;/center&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;/body&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;/html&amp;gt;&lt;/P&gt; 
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p4"&gt;&lt;STRONG&gt;HTTPS gives me:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P class="p2"&gt;301|HTTP 301 Moved Permanently&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ltnw"&gt;Screen Shot 2018-09-21 at 23.12.31.png&lt;/A&gt;</description>
    <pubDate>Fri, 21 Sep 2018 23:14:13 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-09-21T23:14:13Z</dc:date>
    <item>
      <title>Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210336#M8786</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Can anyone help with a challenge I have.&amp;nbsp; We are trying to integrate and stream errors captured by tLogCatcher to stream via tRESTClient to our account in sentry.io.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The job is running and it seems to be packaging the JSON on but nothing ever arrives in sentry and doesn't fail.&amp;nbsp; Do we need to install something within the job to support sentry or are we missing a trick somewhere.&amp;nbsp; Surely - we're not the first to have done this...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm added images to this post to help&amp;nbsp;understand the setup.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 09:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210336#M8786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T09:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210337#M8787</link>
      <description>&lt;P&gt;Add a tLogRow to the Response and Error outputs of the tRestClient. I do not know sentry.io, but looking at what you have done my guess is that your JSON is not in a suitable schema.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 12:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210337#M8787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T12:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210338#M8788</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Add a tLogRow to the Response and Error outputs of the tRestClient. I do not know sentry.io, but looking at what you have done my guess is that your JSON is not in a suitable schema.&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;I did that and then the&amp;nbsp;JSON&amp;nbsp;was&amp;nbsp;checked and I'm able to send it directly via a PHP script outside of Talend up to the sentry, so we know the string is fine.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Sentry has integration with Java but I can't work out how to set it up -&amp;nbsp;&lt;A href="https://docs.sentry.io/clients/java/?platform=javascript" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.sentry.io/clients/java/?platform=javascript&lt;/A&gt;.&lt;/P&gt; 
&lt;P&gt;Tried to copy the logj41.x XML into the job logj4 configuration but still no joy.&amp;nbsp; I'm sure we're missing something somewhere and configuring this way is unchartered territory right now so any points would be great.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 21:43:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210338#M8788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T21:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210339#M8789</link>
      <description>oh - and I've also downloaded and copied into C:/program/ the latest Apache Maven 3.5.4 
&lt;A href="http://maven.apache.org/download.cgi" target="_blank" rel="nofollow noopener noreferrer"&gt;http://maven.apache.org/download.cgi&lt;/A&gt; and added this to the Maven configuration within Talend</description>
      <pubDate>Fri, 21 Sep 2018 21:45:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210339#M8789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T21:45:51Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210340#M8790</link>
      <description>&lt;P&gt;If you can send your data via REST Service, you do not need to do anything special in Talend. However, REST services (any services to be honest) can be a bit tricky to configure. If you got it to work with a PHP script, would you mind sending the script that worked and also your tRESTClient configuration. I should be able to see what is wrong by comparing the two.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 22:17:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210340#M8790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T22:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210341#M8791</link>
      <description>&lt;P&gt;Also, did you get ANY response from the Response tLogRow or the Error tLogRow? What&amp;nbsp; input column were you passing the data to (your JSON)?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 22:27:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210341#M8791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T22:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210342#M8792</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;Also, did you get ANY response from the Response tLogRow or the Error tLogRow? What&amp;nbsp; input column were you passing the data to (your JSON)?&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;Yes, sorry I tested with HTTP and HTTPS...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;STRONG&gt;HTTP gives me the error:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P class="p2"&gt;308|&amp;lt;html&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;head&amp;gt;&amp;lt;title&amp;gt;308 Permanent Redirect&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;body bgcolor="white"&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;center&amp;gt;&amp;lt;h1&amp;gt;308 Permanent Redirect&amp;lt;/h1&amp;gt;&amp;lt;/center&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;hr&amp;gt;&amp;lt;center&amp;gt;nginx/1.13.12&amp;lt;/center&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;/body&amp;gt;&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;lt;/html&amp;gt;&lt;/P&gt; 
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p4"&gt;&lt;STRONG&gt;HTTPS gives me:&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P class="p2"&gt;301|HTTP 301 Moved Permanently&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Ltnw"&gt;Screen Shot 2018-09-21 at 23.12.31.png&lt;/A&gt;</description>
      <pubDate>Fri, 21 Sep 2018 23:14:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210342#M8792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T23:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210343#M8793</link>
      <description>&lt;P&gt;screen shot in the last post shows setup for tmap2 which is the output from the&amp;nbsp;BuildJSONString&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 23:15:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210343#M8793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T23:15:19Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210344#M8794</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU"&gt;@rhall&lt;/A&gt;&amp;nbsp;wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;If you can send your data via REST Service, you do not need to do anything special in Talend. However, REST services (any services to be honest) can be a bit tricky to configure. If you got it to work with a PHP script, would you mind sending the script that worked and also your tRESTClient configuration. I should be able to see what is wrong by comparing the two.&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;This is the send_message&amp;nbsp;php&amp;nbsp;that is called and gets the message through...&lt;/P&gt; 
&lt;P class="p1"&gt;class sendSQSMessage&lt;/P&gt; 
&lt;P class="p1"&gt;{&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;/**&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;* sendSQSMessage constructor.&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;*&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;* &lt;A href="https://community.qlik.com/s/profile/0053p000007LNepAAG"&gt;@rchinta&lt;/A&gt; string $commandName&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;* &lt;A href="https://community.qlik.com/s/profile/0053p000007LNepAAG"&gt;@rchinta&lt;/A&gt; string $output&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;*/&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;public function __construct(string $commandName, string $output)&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;{&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$client = new Raven_Client('https://XXXX@sentry.XXXXX.net/11');&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$client-&amp;gt;setEnvironment('testing'); //production or development or testing&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$client-&amp;gt;setRelease('0.01');&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$error_handler = new Raven_ErrorHandler($client);&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$error_handler-&amp;gt;registerExceptionHandler();&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$error_handler-&amp;gt;registerErrorHandler();&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$error_handler-&amp;gt;registerShutdownFunction();&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$sqs_client = new \Aws\Sqs\SqsClient(unserialize(AWS_CREDENTIALS));&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$result = $sqs_client-&amp;gt;getQueueUrl(['QueueName' =&amp;gt; QUEUE_NAME]);&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$queue_url = $result-&amp;gt;get('QueueUrl');&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;@/** @var&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;$uuid&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;Uuid */&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$uuid = Uuid::uuid4();&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;/**&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;* The message we will be sending&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;*/&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$our_message = [&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'id' =&amp;gt; $uuid,&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'dateFinished' =&amp;gt; new DateTime(),&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'commandName' =&amp;gt; $commandName,&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'workerName' =&amp;gt; gethostname(),&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'output' =&amp;gt; $output&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;];&lt;/P&gt; 
&lt;P class="p2"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;/**&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;* Send the message&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;*/&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;$sqs_client-&amp;gt;sendMessage([&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'QueueUrl' =&amp;gt; $queue_url,&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;'MessageBody' =&amp;gt; json_encode($our_message)&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;]);&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/P&gt; 
&lt;P class="p1"&gt;}&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;Attached is the config of the tRESTClient...&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lto1"&gt;Screen Shot 2018-09-21 at 23.37.45.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtSb"&gt;Screen Shot 2018-09-21 at 23.37.34.png&lt;/A&gt;</description>
      <pubDate>Fri, 21 Sep 2018 23:39:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210344#M8794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T23:39:01Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210345#M8795</link>
      <description>&lt;P&gt;OK, this is a difficult one to solve while not having access to the service. But I can help. It looks like your service endpoint is redirecting. This redirect endpoint will be returned as a Header in the response message. The header should be called "Location". Below is some code which you can use to find this redirect URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;java.util.Iterator&amp;lt;String&amp;gt; it =   ((java.util.Map&amp;lt;String,java.util.List&amp;lt;String&amp;gt;&amp;gt;)globalMap.get("tRESTClient_1_HEADERS")).keySet().iterator();

while(it.hasNext()){
	System.out.println(it.next());
}&lt;/PRE&gt;&lt;P&gt;I've assumed your tRestClient is called tRESTClient_1. This will iterate through the response Header Keys. Run it and look for something like "Location". Then, amend the code to this...&lt;/P&gt;&lt;PRE&gt;java.util.Iterator&amp;lt;String&amp;gt; it =   ((java.util.Map&amp;lt;String,java.util.List&amp;lt;String&amp;gt;&amp;gt;)globalMap.get("tRESTClient_1_HEADERS")).keySet().iterator();

//while(it.hasNext()){
//	System.out.println(it.next());
//}


System.out.println(((java.util.Map&amp;lt;String,java.util.List&amp;lt;String&amp;gt;&amp;gt;)globalMap.get("tRESTClient_1_HEADERS")).get("Location"));&lt;/PRE&gt;&lt;P&gt;I've used "Location" as the Key above, change it if required.....or you could just try running the second code straight away. The URL returned is the redirect location. Set that in your tRESTClient URL.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That should work for you&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 23:52:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210345#M8795</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-21T23:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210346#M8796</link>
      <description>&lt;P&gt;I'm an idiot (but it is late here and that code may be useful to you in the future), there is a MUCH easier way of solving this. Just tick the "Follow redirects" option on the Advanced Settings of the tRESTClient.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2018 00:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210346#M8796</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-22T00:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210347#M8797</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the pointers.&amp;nbsp; Seems like we're getting somewhere now.&amp;nbsp; Attached is a console output after putting your code in there.&amp;nbsp; It seems from one of the messages in the console that we are missing a 'Referer header' in the sentry call.&lt;/P&gt;&lt;P&gt;I'll have our developer who set up sentry check this out but thought I'd share this in case you can spot anything else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help - really appreciated.&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtnJ"&gt;error.txt.zip&lt;/A&gt;</description>
      <pubDate>Sat, 22 Sep 2018 10:32:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210347#M8797</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-22T10:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210348#M8798</link>
      <description>&lt;P&gt;Think we now have it talking to sentry.&amp;nbsp; Suspect there are now some authentication issues within sentry that need sorting so we're investigating.&amp;nbsp; I'll keep you posted as it will be good to wrap this one up so we have a sentry integration solution on the community....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If reviewing the text file you see something else then do let me know...&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sat, 22 Sep 2018 12:55:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210348#M8798</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-22T12:55:07Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210349#M8799</link>
      <description>&lt;P&gt;It looks like your error was caused by the file your&amp;nbsp;tFileOutputDelimited_1 component is writing to already existing. You will need to enable it to append or to overwrite.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;if authentication is required, look at the "Use Authentication" tick box on the tRESTClient.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2018 13:50:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210349#M8799</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-22T13:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210350#M8800</link>
      <description>&lt;P&gt;yeah&amp;nbsp; - the delimited file error is forced to fire the error message to check it goes to sentry.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are looking at the authentication.&amp;nbsp; I tried using the authentication method but that still failed - its an issue at the sentry end it seems so my team are looking into that now...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will come back when we have a solution...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;dave&lt;/P&gt;</description>
      <pubDate>Sat, 22 Sep 2018 13:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210350#M8800</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-22T13:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210351#M8801</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/005390000069RuGAAU" target="_self"&gt;@rhall&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;ok - we've made a bit more progress.&amp;nbsp; Think we're now close.&amp;nbsp; I have downloaded and installed the sentry jar and had this loaded up with a tLibraryLoad.&amp;nbsp; I then have a java class I need to install so I can then call that from the job but not sure how to load it into Talend.&amp;nbsp; See images attached for what I mean...&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Once this is installed then we are led to believe we should be off and running.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any ideas?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtiZ"&gt;Screen Shot 2018-09-24 at 14.18.01.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtnE"&gt;Screen Shot 2018-09-24 at 14.17.50.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtVA"&gt;Screen Shot 2018-09-24 at 14.17.09.png&lt;/A&gt;</description>
      <pubDate>Mon, 24 Sep 2018 14:21:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210351#M8801</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-24T14:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210352#M8802</link>
      <description>&lt;P&gt;I'm confused. If you were able to call the REST service from a PHP script, then I don't quite understand the need for the Sentry Jar to be added to the job. A web service can be called from ANY source so long as the message and call are formatted properly. It sounded like it was just a security issue from the last message.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, using Java class to make the call will also work with Talend. First of all you need to create a Routine. A Routine is essentially just a Java class. You should be able to take the code you have shown me and add it to a Routine. Having said that, the code I have seen looks very basic and may need some tweaking to make it suit your requirements. For example, it has a "static void main" method which implies it is intended to be run from the command-line. If you have any Java guys there, ask them to tweak it so that you can call a "send" method&amp;nbsp;as a static method. The send method will need to have at least a String parameter to hold your JSON.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Once you have your routine, you will need to add your Jar to its list of libraries. To do this, right click on the routine and select "Edit Routine Libraries". Add it here. This will mean you do not need the tLibraryLoad in your job.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The you can use your "send" method anywhere in your job. If you routine is called "MyRoutine" and your send method is called "send", you can call it using&amp;nbsp;code like this.....&lt;/P&gt;
&lt;PRE&gt;routines.MyRoutine.send(row1.errorJSON)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 14:52:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210352#M8802</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-24T14:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210353#M8803</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks, you've been really helpful!&lt;/P&gt;
&lt;P&gt;Our Java fella's have now sorted it.&amp;nbsp; None of us can understand why the API wasn't working when we could run via PHP but that became too much to sort when we could simply install the libraries and change the Java to send to sentry.&amp;nbsp; Must be something funny with Sentry...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After loading the 4 JARs via the tLibraryLoad component:&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;jackson-core-2.9.7.jar&lt;/LI&gt;
 &lt;LI&gt;sentry-1.7.5.jar&lt;/LI&gt;
 &lt;LI&gt;javax.servlet-api-3.0.1.jar&lt;/LI&gt;
 &lt;LI&gt;slf4j-api-1.8.0-beta2.jar&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;...and creating a class to call in a Code repository we were then able to call from the tJavaRow and we started to receive the messages in Sentry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, all good now and thanks again for your help...&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 20:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210353#M8803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T20:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210354#M8804</link>
      <description>&lt;P&gt;Glad you got it sorted. These struggles with Talend tend to benefit you in the long run as you usually end up learning something new about the tool while experimenting &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you have added your code to a Routine, which is great. If this is the case, try adding your libraries to the Routine (as I described in my last post) as this will remove the requirement for the tLibraryLoad components in your job. It will also mean that your code will work in ANY job without having to add the tLibraryLoad components.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 20:54:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210354#M8804</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T20:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Logging Integration with Sentry,io</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210355#M8805</link>
      <description>&lt;P&gt;Oh great - love that idea.&amp;nbsp; Thanks - will make sure I give that a go.&amp;nbsp; Missed that in the last post.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 21:34:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Logging-Integration-with-Sentry-io/m-p/2210355#M8805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-25T21:34:18Z</dc:date>
    </item>
  </channel>
</rss>

