<?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: rex  command in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519609#M9281</link>
    <description>&lt;P&gt;thanx for ur response but i am&amp;nbsp; not getting that&amp;nbsp; specific field&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2020 06:51:50 GMT</pubDate>
    <dc:creator>itishree</dc:creator>
    <dc:date>2020-09-15T06:51:50Z</dc:date>
    <item>
      <title>rex  command</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519606#M9279</link>
      <description>&lt;P&gt;&amp;nbsp;I have event like this from here i have to extract bold name&amp;nbsp; like :&lt;/P&gt;&lt;P&gt;Burp-collab&lt;/P&gt;&lt;P&gt;Qualys_scanner_RPA&lt;/P&gt;&lt;P&gt;SIE-PT-BAU-1&lt;/P&gt;&lt;P&gt;SIE-PT-BAU-2Kali&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can any one help me on this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE width="570"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="570"&gt;&amp;lt;166&amp;gt;2020-09-11T12: [Originator@6870 sub=Vmsvc.vm:/vmfs/volumes/5b33d479-61618708-d3cd-d094665b5e96/&lt;FONT face="arial black,avant garde"&gt;Burp-Collab&lt;/FONT&gt;/Burp-Collab.vmx opID=1bcac8c3 user=root]&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;lt;13&amp;gt;2020-09-08T05: /vmfs/volumes/5b33d479-61618708-d3cd-d094665b5e96/&lt;FONT face="arial black,avant garde"&gt;Qualys_scanner_RPA&lt;/FONT&gt;/Qualys_scanner_RPA.vmx: Connected to mks-fd&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;lt;164&amp;gt;2020-09-11T13:[Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5b33d479-61618708-d3cd-d094665b5e96/&lt;FONT face="arial black,avant garde"&gt;SIE-PT-BAU-1&lt;/FONT&gt;/SIE-PT-BAU-1.vmx] Failed to find activation record, event user unknown.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;lt;166&amp;gt;2020-09-08T05:54:57.060Z siscesxi01.sisc-lab.com Hostd: info hostd[2099583] [Originator@6876 sub=Vmsvc.vm:/vmfs/volumes/5b33d479-61618708-d3cd-d094665b5e96/&lt;FONT face="arial black,avant garde"&gt;SIE-PT-BAU-2Kali&lt;/FONT&gt;/SIE-PT-BAU-2Kali.vmx opID=1bca6b2a user=root] Ticket issued for mks service to user: root&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 06:24:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519606#M9279</guid>
      <dc:creator>itishree</dc:creator>
      <dc:date>2020-09-15T06:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: rex  command</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519608#M9280</link>
      <description>&lt;P&gt;values will be extracted new field called "newfield"&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex "(?&amp;lt;newfield&amp;gt;[^\/]+)(?=.vmx)"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 15 Sep 2020 06:43:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519608#M9280</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-15T06:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: rex  command</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519609#M9281</link>
      <description>&lt;P&gt;thanx for ur response but i am&amp;nbsp; not getting that&amp;nbsp; specific field&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 06:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519609#M9281</guid>
      <dc:creator>itishree</dc:creator>
      <dc:date>2020-09-15T06:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: rex  command</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519611#M9282</link>
      <description>&lt;LI-CODE lang="markup"&gt;| index=yourindex
| rex "(?&amp;lt;newfield&amp;gt;[^\/]+)(?=.vmx)"
| table newfield&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 15 Sep 2020 06:56:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519611#M9282</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-15T06:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: rex  command</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519613#M9283</link>
      <description>&lt;P&gt;&amp;nbsp; count&lt;/P&gt;&lt;TABLE width="700px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="659px"&gt;&amp;lt;13&amp;gt;2020-09-14T09:15:07Z&amp;nbsp; vmauthd[6227095]: Local connection for&lt;/TD&gt;&lt;TD width="40px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="659px"&gt;&amp;lt;13&amp;gt;2020-09-14T10:28:09Z vmauthd[6232159]: Local connection for&lt;/TD&gt;&lt;TD width="40px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="659px"&gt;&amp;lt;166&amp;gt;2020-09-14T08:58:37.120Z&amp;nbsp; Hostd: info hostd[2099584] [Originator@6876 sub=Libs opID=vim-cmd-c1-6005 user=dcui] Found&lt;/TD&gt;&lt;TD width="40px"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="659px"&gt;&amp;lt;166&amp;gt;2020-09-14T08:58:37.120Z&amp;nbsp; Hostd: info hostd[2099584] [Originator@6876 sub=Libs opID=vim-cmd-c1-6005 user=dcui] Starting&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;getting result like this&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i want only the name of that particular field&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 07:14:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519613#M9283</guid>
      <dc:creator>itishree</dc:creator>
      <dc:date>2020-09-15T07:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: rex  command</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519615#M9284</link>
      <description>&lt;P&gt;if the value matches with regular expression then newfield will have values otherwise no.&lt;/P&gt;&lt;P&gt;the table below doesn't have values you posted in question.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 07:24:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519615#M9284</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-15T07:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: rex  command</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519616#M9285</link>
      <description>&lt;P&gt;Following the previous answer, simply use a stats command:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| index=yourindex
| rex "(?&amp;lt;newfield&amp;gt;[^\/]+)(?=.vmx)"
| stats latest(_raw), count by newfield&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 07:24:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519616#M9285</guid>
      <dc:creator>samsplunks</dc:creator>
      <dc:date>2020-09-15T07:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: rex  command</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519618#M9286</link>
      <description>&lt;P&gt;| rex "(?&amp;lt;VMX&amp;gt;[^\/]+)\.vmx"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This one works...thanx for ur help&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 07:31:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/rex-command/m-p/519618#M9286</guid>
      <dc:creator>itishree</dc:creator>
      <dc:date>2020-09-15T07:31:45Z</dc:date>
    </item>
  </channel>
</rss>

