<?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: How to split/extract substring after the first - from the right side in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-extract-substring-before-the-first-from-the-right/m-p/551126#M156381</link>
    <description>&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;host&amp;gt;[^\-]+)\-"&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 10 May 2021 18:31:51 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-05-10T18:31:51Z</dc:date>
    <item>
      <title>How to split/extract substring before the first - from the right side of the string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-extract-substring-before-the-first-from-the-right/m-p/551125#M156380</link>
      <description>&lt;LI-SPOILER&gt;How to split/extract substring before the first - from the right side of the field on splunk search&lt;/LI-SPOILER&gt;&lt;P&gt;For ex: My field hostname contains&lt;/P&gt;&lt;P&gt;Hostname = abc-xyz&lt;BR /&gt;Hostname = abc-01-def&lt;BR /&gt;Hostname = pqr-01&lt;/P&gt;&lt;P&gt;I want to see like below .&lt;/P&gt;&lt;P&gt;abc&lt;BR /&gt;abc-01&lt;BR /&gt;pqr&lt;/P&gt;&lt;P&gt;Please help me.&lt;/P&gt;</description>
      <pubDate>Mon, 10 May 2021 18:33:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-extract-substring-before-the-first-from-the-right/m-p/551125#M156380</guid>
      <dc:creator>keshavgupta</dc:creator>
      <dc:date>2021-05-10T18:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to split/extract substring after the first - from the right side</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-split-extract-substring-before-the-first-from-the-right/m-p/551126#M156381</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;host&amp;gt;[^\-]+)\-"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 10 May 2021 18:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-split-extract-substring-before-the-first-from-the-right/m-p/551126#M156381</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-05-10T18:31:51Z</dc:date>
    </item>
  </channel>
</rss>

