<?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: Azure Add-on user data truncation in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Add-on-user-data-truncation/m-p/524455#M88535</link>
    <description>&lt;P&gt;I'll give that a shot and see what happens! Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 13 Oct 2020 16:06:57 GMT</pubDate>
    <dc:creator>drobMT</dc:creator>
    <dc:date>2020-10-13T16:06:57Z</dc:date>
    <item>
      <title>Azure Add-on user data truncation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Add-on-user-data-truncation/m-p/524281#M88518</link>
      <description>&lt;P&gt;I'm using the Azure Add-on for splunk to pull in our azure AD signin, audit and user data; all is work well for the most part with the exception of some user events (&lt;SPAN&gt;&lt;SPAN class="key level-1"&gt;&lt;SPAN class="key-name"&gt;sourcetype="azure:aad:user") &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;seem to have truncated json and therefore don't parse correctly.&lt;/P&gt;&lt;P&gt;Is there a limit setting for this that can remediate this?&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 22:22:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Add-on-user-data-truncation/m-p/524281#M88518</guid>
      <dc:creator>drobMT</dc:creator>
      <dc:date>2020-10-12T22:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Add-on user data truncation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Add-on-user-data-truncation/m-p/524412#M88526</link>
      <description>&lt;P&gt;You should be able to change the truncation in the app's local/props.conf file.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[azure:aad:user]
TRUNCATE = some big enough number&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 13 Oct 2020 13:27:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Add-on-user-data-truncation/m-p/524412#M88526</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-10-13T13:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Add-on user data truncation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Add-on-user-data-truncation/m-p/524455#M88535</link>
      <description>&lt;P&gt;I'll give that a shot and see what happens! Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 16:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Add-on-user-data-truncation/m-p/524455#M88535</guid>
      <dc:creator>drobMT</dc:creator>
      <dc:date>2020-10-13T16:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Azure Add-on user data truncation</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Azure-Add-on-user-data-truncation/m-p/524471#M88540</link>
      <description>&lt;P&gt;Thanks! I added a /local/props.conf with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[azure:aad:user]
TRUNCATE = 20000&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;and that worked.&lt;/P&gt;&lt;P&gt;I found by default that it was truncating at 10000. So i guessed and used 20000; that seemed to work.&lt;/P&gt;&lt;P&gt;I then searched the most recent data pull for raw events that didn't match (looking for events without the closing "}" at the end of the JSON event).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=azuread sourcetype="azure:aad:user"  
| regex  _raw!="\}$"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When nothing matched I knew I was big enough. So I verified with&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=azuread sourcetype="azure:aad:user" 
| eval CharCount=len(_raw) 
| stats max(CharCount) as maxCharCount&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and found my largest event (user profile) was just under 16000 characters, so 20k gives me some margin of error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Oct 2020 18:04:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Azure-Add-on-user-data-truncation/m-p/524471#M88540</guid>
      <dc:creator>drobMT</dc:creator>
      <dc:date>2020-10-13T18:04:23Z</dc:date>
    </item>
  </channel>
</rss>

