<?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: Why is Splunk Add-on for Google Workspace inputs getting 401 response? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/608692#M105591</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Did you have any luck fixing the issue? we are getting exactly the same error and we are getting crazy trying to make it work but with no luck so far. Any help will be very welcome.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 08 Aug 2022 13:34:57 GMT</pubDate>
    <dc:creator>pablobarquin</dc:creator>
    <dc:date>2022-08-08T13:34:57Z</dc:date>
    <item>
      <title>Why is Splunk Add-on for Google Workspace inputs getting 401 response?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/602874#M104940</link>
      <description>&lt;P&gt;I have configured the&amp;nbsp;Splunk Add-on for Google Workspace on a Heavy Forwarder that is performing data collection and then forwarding the data to Splunk Cloud.&lt;/P&gt;
&lt;P&gt;We followed the instructions at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/AddOns/released/GoogleWorkspace/About" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/AddOns/released/GoogleWorkspace/About &lt;/A&gt;both when configuring the Google Cloud service account and configuring the Add-On. I configured the Add-On with the Google Cloud service account with the JSON key generated on&amp;nbsp;&lt;SPAN&gt;console.cloud.google.com and then configured the inputs.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We are not getting any data and when we look at the internal logs from the Heavy Forwarder where the Splunk Add-on for Google Workspace is deployed we are seeing 401 responses like the following:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/token?maxResults=1000&amp;amp;startTime=2022-06-22T19%3A07%3A10.464Z&amp;amp;endTime=2022-06-22T19%3A07%3A10.464Z&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://admin.googleapis.com/admin/reports/v1/activity/users/all/applications/drive?maxResults=1000&amp;amp;startTime=2022-06-22T19%3A07%3A10.521Z&amp;amp;endTime=2022-06-22T19%3A07%3A10.521Z&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;We also went through the troubleshooting section of the docs: &lt;A href="https://docs.splunk.com/Documentation/AddOns/released/GoogleWorkspace/Troubleshoot" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/AddOns/released/GoogleWorkspace/Troubleshoot &lt;/A&gt;to no avail&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Any guidance from some one who has deployed the GWS Add-On and gotten a 401 after configuring the inputs will be greatly appreciated&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jun 2022 16:02:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/602874#M104940</guid>
      <dc:creator>splunk_w_ro</dc:creator>
      <dc:date>2022-06-29T16:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk Add-on for Google Workspace inputs getting 401 response?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/604117#M105074</link>
      <description>&lt;P&gt;You need to grand admin privileges in GWS for the account you use &lt;SPAN&gt;in the&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Username&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;field (the email address that you use as your Google Workspace).&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 12:23:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/604117#M105074</guid>
      <dc:creator>ostap_med</dc:creator>
      <dc:date>2022-07-01T12:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk Add-on for Google Workspace inputs getting 401 response?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/608692#M105591</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Did you have any luck fixing the issue? we are getting exactly the same error and we are getting crazy trying to make it work but with no luck so far. Any help will be very welcome.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 13:34:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/608692#M105591</guid>
      <dc:creator>pablobarquin</dc:creator>
      <dc:date>2022-08-08T13:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk Add-on for Google Workspace inputs getting 401 response?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/608697#M105593</link>
      <description>&lt;P&gt;The service account used for this integration needs to have the super admin role as &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/247290"&gt;@ostap_med&lt;/a&gt;&amp;nbsp;noted. It also needs to match the account in the JSON key that is used when setting up the account within the Splunk TA for Google Workspace&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 14:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/608697#M105593</guid>
      <dc:creator>splunk_w_ro</dc:creator>
      <dc:date>2022-08-08T14:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Why is Splunk Add-on for Google Workspace inputs getting 401 response?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/609144#M105643</link>
      <description>&lt;P&gt;&lt;SPAN&gt;We now have the input working for the admin SDK via GCP for Splunk- Addon, the root cause of the authorization issue&amp;nbsp;was a GCP service account needing to do user impersonation of a GWS account with proper admin rights (not what Splunk support advised).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://medium.com/google-cloud/impersonating-users-with-google-cloud-platform-service-accounts-ba762db09092" target="_blank" rel="noopener"&gt;https://medium.com/google-cloud/impersonating-users-with-google-cloud-platform-service-accounts-ba762db09092&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 10:53:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-is-Splunk-Add-on-for-Google-Workspace-inputs-getting-401/m-p/609144#M105643</guid>
      <dc:creator>pablobarquin</dc:creator>
      <dc:date>2022-08-11T10:53:53Z</dc:date>
    </item>
  </channel>
</rss>

