<?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: RegEx for splitting data in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690607#M56582</link>
    <description>&lt;P&gt;Regular expressions (RegEx) are powerful tools for splitting data based on patterns. &lt;A href="https://www.cabletvbillingissues.com/dish-network-billing-issues/" target="_blank" rel="noopener"&gt;dish tv billing issues&lt;/A&gt; Use split() with a RegEx pattern to segment text into manageable components, such as dividing a string by commas or spaces. For instance, split(/[,\s]+/). Customize patterns to match specific delimiters or structures in data, ensuring accurate segmentation for tasks like parsing CSV files or extracting structured information from unformatted text.&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jun 2024 11:52:07 GMT</pubDate>
    <dc:creator>mitcheljohns</dc:creator>
    <dc:date>2024-06-13T11:52:07Z</dc:date>
    <item>
      <title>RegEx for splitting data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690579#M56577</link>
      <description>&lt;P&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have a raw message which contains Action name like below :&lt;BR /&gt;&lt;BR /&gt;CommBank.Api.PricingExtractor.Controllers.EventPublishController.PublishEventsToKafkaTopics (CommBank.Api.PricingExtractor)&lt;BR /&gt;&lt;BR /&gt;which I&amp;nbsp; have extracted using below regular expression&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;rex field=message "ActionName\\\":\\\"(?&amp;lt;ActionName&amp;gt;[^\\\"]+)"&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Is there a way to extract only last part after "." and before "("&amp;nbsp; &amp;nbsp;i.e "PublishEventsToKafkaTopics" just this I tried few ways but was getting error.&lt;BR /&gt;&lt;BR /&gt;Any help will be appreciated&lt;BR /&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 09:31:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690579#M56577</guid>
      <dc:creator>Kaushaas</dc:creator>
      <dc:date>2024-06-13T09:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: RegEx for splitting data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690582#M56578</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try this after your rex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=ActionName "\.([^\.]+)\s*\("

&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 06:52:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690582#M56578</guid>
      <dc:creator>glc_slash_it</dc:creator>
      <dc:date>2024-06-13T06:52:38Z</dc:date>
    </item>
    <item>
      <title>Re: RegEx for splitting data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690583#M56579</link>
      <description>&lt;P&gt;You can try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=message "ActionName\\\":\\\"(\w+\.)*(?&amp;lt;ActionName&amp;gt;\w+)"&lt;/LI-CODE&gt;&lt;P&gt;which will look for all package names up to the last . and then extract the class name based on \w+ rather than everything up to the final quote&lt;/P&gt;&lt;P&gt;If your package or class names contain chars other than \w then adjust accordingly.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 06:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690583#M56579</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-06-13T06:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: RegEx for splitting data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690595#M56580</link>
      <description>&lt;P&gt;This worked thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 10:31:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690595#M56580</guid>
      <dc:creator>Kaushaas</dc:creator>
      <dc:date>2024-06-13T10:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: RegEx for splitting data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690600#M56581</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Thanks for the solution&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| rex field=message "ActionName\\\":\\\"(\w+\.)*(?&amp;lt;ActionName&amp;gt;\w+)"&lt;BR /&gt;&lt;BR /&gt;this worked tried similar thing to extract name from below url using below reg ex what did I miss it didnot work i replaced . to /? If you could ecplain to it will be helpful&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;STRONG&gt;URL&lt;/STRONG&gt; --- /api/v1/Publish&amp;nbsp; &amp;nbsp;&lt;STRONG&gt;value expected&lt;/STRONG&gt; ---- Publish&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;| rex field=message "reqPath\\\":\\\"(\w+\/)*(?&amp;lt;reqPath&amp;gt;\w+)"&lt;BR /&gt;&lt;BR /&gt;Thanks a ton in advance&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 11:19:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690600#M56581</guid>
      <dc:creator>Kaushaas</dc:creator>
      <dc:date>2024-06-13T11:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: RegEx for splitting data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690607#M56582</link>
      <description>&lt;P&gt;Regular expressions (RegEx) are powerful tools for splitting data based on patterns. &lt;A href="https://www.cabletvbillingissues.com/dish-network-billing-issues/" target="_blank" rel="noopener"&gt;dish tv billing issues&lt;/A&gt; Use split() with a RegEx pattern to segment text into manageable components, such as dividing a string by commas or spaces. For instance, split(/[,\s]+/). Customize patterns to match specific delimiters or structures in data, ensuring accurate segmentation for tasks like parsing CSV files or extracting structured information from unformatted text.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 11:52:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690607#M56582</guid>
      <dc:creator>mitcheljohns</dc:creator>
      <dc:date>2024-06-13T11:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: RegEx for splitting data</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690671#M56585</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=message "reqPath\\\":\\\".*/(?&amp;lt;reqPath&amp;gt;\w+)"&lt;/LI-CODE&gt;&lt;P&gt;where the .* is a greedy capture up to the final / character&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2024 01:30:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/RegEx-for-splitting-data/m-p/690671#M56585</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2024-06-14T01:30:43Z</dc:date>
    </item>
  </channel>
</rss>

