<?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: Linebreaking issue with Azure Keyvault sourcetype in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745710#M58655</link>
    <description>&lt;P&gt;Thank you. THis worked perfectly!&lt;/P&gt;</description>
    <pubDate>Wed, 07 May 2025 15:44:29 GMT</pubDate>
    <dc:creator>gazoscreek</dc:creator>
    <dc:date>2025-05-07T15:44:29Z</dc:date>
    <item>
      <title>Linebreaking issue with Azure Keyvault sourcetype</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745699#M58651</link>
      <description>&lt;P&gt;I have multiple formats of json data coming in from Azure Keyvault. I can't seem to get the linebreaking to work properly and Splunk AddOn for Microsoft Cloudservices doesn't provide any props for many of these json blobs.&lt;BR /&gt;&lt;BR /&gt;( multiple matching lines per ingested event }&lt;/P&gt;&lt;P&gt;{ "count": 1, "total": 1, "minimum": 1, "maximum": 1, "average": 1, "resourceId": "/SUBSCRIPTIONS/blah/blah", "time": "2025-05-07T14:08:00.0000000Z", "metricName": "ServiceApiHit", "timeGrain": "PT1M"}&lt;BR /&gt;{ "count": 1, "total": 14, "minimum": 14, "maximum": 14, "average": 14, "resourceId": "/SUBSCRIPTIONS/blah/blah", "time": "2025-05-07T14:08:00.0000000Z", "metricName": "ServiceApiLatency", "timeGrain": "PT1M"}&lt;/P&gt;&lt;P&gt;And some look like this:&lt;/P&gt;&lt;P&gt;{ "time": "2025-05-07T14:07:58.7286344Z", "category": "AuditEvent", ....... "13"}&lt;BR /&gt;{ "time": "2025-05-07T14:08:02.8617508Z", "category": "AuditEvent", ....... "13"}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I've tried numerous combinations of regexes ... nothing's working.&lt;BR /&gt;&lt;BR /&gt;LINE_BREAKER = (\}([\r\n]\s*,[\r\n]\s*){|\{\s+\"(count|time)\")&lt;BR /&gt;&lt;BR /&gt;Any suggestions would be greatly helpful.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 14:26:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745699#M58651</guid>
      <dc:creator>gazoscreek</dc:creator>
      <dc:date>2025-05-07T14:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Linebreaking issue with Azure Keyvault sourcetype</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745703#M58652</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226003"&gt;@gazoscreek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I took sample events and tried in my lab, please have a look&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample events:&amp;nbsp;&lt;SPAN class=""&gt;Mixed &lt;/SPAN&gt;&lt;SPAN class=""&gt;Metric &lt;/SPAN&gt;&lt;SPAN class=""&gt;and &lt;/SPAN&gt;&lt;SPAN class=""&gt;Audit &lt;/SPAN&gt;&lt;SPAN class=""&gt;Events&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;{ "count": 3, "total": 3, "minimum": 3, "maximum": 3, "average": 3, "resourceId": "/SUBSCRIPTIONS/blah/blah", "time": "2025-05-07T14:08:00.0000000Z", "metricName": "ServiceApiError", "timeGrain": "PT1M"}&lt;BR /&gt;{&lt;BR /&gt;"time": "2025-05-07T14:08:04.9876543Z",&lt;BR /&gt;"category": "AuditEvent",&lt;BR /&gt;"operationName": "DeleteSecret",&lt;BR /&gt;"status": "Succeeded",&lt;BR /&gt;"callerIpAddress": "52.191.18.74",&lt;BR /&gt;"clientRequestId": "abcdef-12345-67890",&lt;BR /&gt;"correlationId": "67890-abcdef-12345",&lt;BR /&gt;"resourceId": "/SUBSCRIPTIONS/blah/blah"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[sourcetype ]&lt;BR /&gt;SHOULD_LINEMERGE=false&lt;BR /&gt;LINE_BREAKER=([\r\n\s]*)(?=\{)&lt;BR /&gt;TIME_PREFIX="time":\s*"&lt;BR /&gt;TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%7QZ&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD=50&lt;BR /&gt;TRUNCATE=0&lt;BR /&gt;CHARSET=UTF-8&lt;BR /&gt;INDEXED_EXTRACTIONS=JSON&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_0-1746628975076.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38894i009BA42FFDF4599C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_0-1746628975076.png" alt="kiran_panchavat_0-1746628975076.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_1-1746628997398.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38895i13C8DBE7458A012C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_1-1746628997398.png" alt="kiran_panchavat_1-1746628997398.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_2-1746629144043.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38896iB9D90D2E097E2310/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_2-1746629144043.png" alt="kiran_panchavat_2-1746629144043.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_3-1746629197794.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38897i7547A2825F08D794/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_3-1746629197794.png" alt="kiran_panchavat_3-1746629197794.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 14:46:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745703#M58652</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-05-07T14:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Linebreaking issue with Azure Keyvault sourcetype</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745705#M58653</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/226003"&gt;@gazoscreek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the line breaker regex is too complicated for what you're receiving I would expect the following to work for you:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[azure:keyvault]
LINE_BREAKER = ([\r\n]+)\{
SHOULD_LINEMERGE = false
TRUNCATE = 0
TIME_PREFIX = \"time\":\s*\"
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%N
MAX_TIMESTAMP_LOOKAHEAD = 30&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 14:46:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745705#M58653</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-07T14:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Linebreaking issue with Azure Keyvault sourcetype</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745709#M58654</link>
      <description>&lt;P&gt;Thank you ... both posted solutions worked perfectly. Much appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 15:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745709#M58654</guid>
      <dc:creator>gazoscreek</dc:creator>
      <dc:date>2025-05-07T15:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: Linebreaking issue with Azure Keyvault sourcetype</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745710#M58655</link>
      <description>&lt;P&gt;Thank you. THis worked perfectly!&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 15:44:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Linebreaking-issue-with-Azure-Keyvault-sourcetype/m-p/745710#M58655</guid>
      <dc:creator>gazoscreek</dc:creator>
      <dc:date>2025-05-07T15:44:29Z</dc:date>
    </item>
  </channel>
</rss>

