<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Info logging</title><link>https://community.appian.com/discussions/f/integrations/24500/info-logging</link><description>The client wants us to log information about everything that goes in and out of the app through APIs and integrations. Appian logs a lot of stuff by default. So far I&amp;#39;ve found: 
 
 api_key.csv - saves information about any api keys used for our APIs,</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Info logging</title><link>https://community.appian.com/thread/95084?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 14:53:47 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:ffdb7120-996e-45b6-913c-791347928e99</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;i think this should be a corner case here which cannot be served properly....&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Info logging</title><link>https://community.appian.com/thread/95082?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 14:43:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:756fdf93-7920-4b71-a27a-392cc2e2b718</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;I understand the difference between get and post. We just want a record of what is gotten through those gets that the current log system doesn&amp;#39;t account for.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Info logging</title><link>https://community.appian.com/thread/95080?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 14:17:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:80eb95f6-d8be-4291-bc53-3802deb35758</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;which is absolutely correct.&lt;br /&gt;Appian is following HTTP standards here.&lt;br /&gt;Please follow them as well.&lt;br /&gt;Every method has its sense.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&lt;strong&gt;GET&lt;/strong&gt; is used&lt;strong&gt; to request data&lt;/strong&gt; from a specified resource.&lt;br /&gt;&lt;strong&gt;POST&lt;/strong&gt; is used t&lt;strong&gt;o send data to&lt;/strong&gt; a server&lt;strong&gt; to create/update&lt;/strong&gt; a resource.&lt;br /&gt;&lt;/span&gt;If you want to create data (aka storing in DB) POST is your method of choice.&lt;br /&gt;&lt;a href="https://www.w3schools.com/tags/ref_httpmethods.asp"&gt;https://www.w3schools.com/tags/ref_httpmethods.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;-&amp;gt; to solve this issue for tracking the APi usage, you should perhaps check, if its possible to just offer &amp;quot;POST&amp;quot; Apis.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Info logging</title><link>https://community.appian.com/thread/95079?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 13:52:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:5858180e-3141-4442-886f-6dfd5579630c</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Depends on the&amp;nbsp;API&amp;#39;s method. POST methods allow for smart services to be called (like process models), so there is no problem tossing in something to write the data from that. But GET methods don&amp;#39;t allow for smart services. No smart services means we can&amp;#39;t write to DB&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/get.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Info logging</title><link>https://community.appian.com/thread/95047?ContentTypeID=1</link><pubDate>Fri, 13 May 2022 04:50:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:060e5db0-2f06-4b17-82cc-436b78351b17</guid><dc:creator>Manish_Kumar</dc:creator><description>&lt;p&gt;Hi Marco,&lt;/p&gt;
&lt;p&gt;Before you hit the API you must be having the request body and once it return the result , you will have your response , So if you hit your API using the expression rule or PM , you will have all the things to call a subprocess which will dump the data in DB. I am not sure why it cannot be achieved . We also have a similar shared subprocess which do it for all API calls.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Info logging</title><link>https://community.appian.com/thread/95028?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 14:24:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:78b09b45-40b8-4e24-8ced-66a944c18323</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;Yes, but the actual data in the body is&amp;nbsp;scrambled, making it useless. Also logs aren&amp;#39;t exactly friendly to look through and sort. We want to have something a bit easier to filter through and organize. Something that we can actually use in Appian as opposed to a file we have to manually download and sift through.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Info logging</title><link>https://community.appian.com/thread/95010?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 07:25:46 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:de846115-291f-49e9-b35c-88a7900dfc91</guid><dc:creator>venkyuppala09</dc:creator><description>&lt;p&gt;Have you enabled the logging option for your integrations? If so appian logs the request and response body as well.&amp;nbsp;&lt;br /&gt;For more info please check this URL&amp;nbsp;&lt;a href="https://docs.appian.com/suite/help/22.1/Integration_Object.html#prodlink-logging"&gt;docs.appian.com/.../Integration_Object.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/18/pastedimage1652340174016v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Info logging</title><link>https://community.appian.com/thread/94976?ContentTypeID=1</link><pubDate>Wed, 11 May 2022 17:57:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:55bb03e0-3120-41eb-8510-201b455fda88</guid><dc:creator>Marco</dc:creator><description>&lt;p&gt;That is more or less what I&amp;#39;d planned on doing, but the only problem with that is &amp;quot;get&amp;quot; method API&amp;#39;s don&amp;#39;t allow&amp;nbsp;s&lt;span&gt;mart services (like starting a process model or writing to the database), so I&amp;#39;m not sure how to&amp;nbsp;trigger the write for that.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Info logging</title><link>https://community.appian.com/thread/94627?ContentTypeID=1</link><pubDate>Wed, 04 May 2022 20:55:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:7961dc62-9f8d-4ba0-939c-062227059a6e</guid><dc:creator>Richard Michaelis</dc:creator><description>&lt;p&gt;Hi Marco,&lt;/p&gt;
&lt;p&gt;Related to your second question:&lt;/p&gt;
&lt;p&gt;My personal approach - create a &amp;quot;API log&amp;quot; &amp;nbsp;cdt with some meta data and a field &amp;quot;body&amp;quot;. Every time the API is triggered you create a DB entry for each single call.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>