<?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: need help in displaying specific fields from below output in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220647#M188108</link>
    <description>&lt;P&gt;thanks for sharing the command but, it is giving below error.&lt;/P&gt;

&lt;P&gt;"Error in 'rex' command: Encountered the following error while compiling the regex 'Client:s'(?[^']+).*Volume'(?[^']+)': Regex: unrecognized character after (? or (?- "&lt;/P&gt;</description>
    <pubDate>Mon, 09 Nov 2015 11:50:46 GMT</pubDate>
    <dc:creator>rkdasari</dc:creator>
    <dc:date>2015-11-09T11:50:46Z</dc:date>
    <item>
      <title>need help in displaying specific fields from below output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220643#M188104</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;

&lt;P&gt;Need help in displaying Client and /use71-mobstor-bf1/vol070 with dedup, as logs has similar entries.&lt;/P&gt;

&lt;P&gt;Nov  2 19:13:54 netapp-master9.bkp.bf1.yahoo.com NetVault[2655]: NetVault: Client: 'netapp_master9_bkp_bf1' Class: 'Data Plugin' Job: '21483' Warnlevel: 'Error' Msg: 'NDMP: ERROR 1: DATA: Operation terminated: Backup of non-local Volume '/use71-mobstor-bf1/vol070' not supported (for /use71-mobstor-bf1/vol070)'&lt;/P&gt;

&lt;P&gt;Nov  2 18:44:02 netapp-master9.bkp.bf1.yahoo.com NetVault[2655]: NetVault: Client: 'netapp_master9_bkp_bf1' Class: 'Data Plugin' Job: '21483' Warnlevel: 'Error' Msg: 'NDMP: ERROR 1: DATA: Operation terminated: Backup of non-local Volume '/use71-mobstor-bf1/vol070' not supported (for /use71-mobstor-bf1/vol070)'&lt;/P&gt;

&lt;P&gt;ov 2 01:14:15 netapp-master9.bkp.bf1.yahoo.com NetVault[2655]: NetVault: Client: 'netapp_master9_bkp_bf1' Class: 'Data Plugin' Job: '22191' Warnlevel: 'Error' Msg: 'NDMP: ERROR 1: DATA: Operation terminated: Backup of non-local Volume '/use71-mobstor-bf1/vol178' not supported (for /use71-mobstor-bf1/vol178)&lt;/P&gt;

&lt;H1&gt;Expecting output like below:&lt;/H1&gt;

&lt;P&gt;netapp_master9_bkp_bf1      /user71-mobstor-bf1/vol178    vol178 (as i need to run a query for vol178 value)&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Ram&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:49:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220643#M188104</guid>
      <dc:creator>rkdasari</dc:creator>
      <dc:date>2020-09-29T07:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: need help in displaying specific fields from below output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220644#M188105</link>
      <description>&lt;P&gt;Hi Ram are Client and Volume already extracted fields or do you also need help with the regex to extract these fields? &lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 18:06:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220644#M188105</guid>
      <dc:creator>rphillips_splk</dc:creator>
      <dc:date>2015-11-06T18:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: need help in displaying specific fields from below output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220645#M188106</link>
      <description>&lt;P&gt;Try this command to extract the fields and display&lt;/P&gt;

&lt;P&gt;| rex "Client:\s'(?[^']+).*Volume\s'(?[^']+)" | dedup volume | table client volume&lt;/P&gt;</description>
      <pubDate>Fri, 06 Nov 2015 21:07:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220645#M188106</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2015-11-06T21:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: need help in displaying specific fields from below output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220646#M188107</link>
      <description>&lt;P&gt;No they are not extracted fields, i need to fetch those using regex. I have tried below command but its giving error.&lt;BR /&gt;
"Error in 'rex' command: Encountered the following error while compiling the regex 'Client:s'(?[^']+).*Volume'(?[^']+)': Regex: unrecognized character after (? or (?- "&lt;/P&gt;

&lt;P&gt;| rex "Client:s'(?[^']+).*Volumes'(?[^']+)" | dedup volume | table client volume&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 10:00:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220646#M188107</guid>
      <dc:creator>rkdasari</dc:creator>
      <dc:date>2015-11-09T10:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: need help in displaying specific fields from below output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220647#M188108</link>
      <description>&lt;P&gt;thanks for sharing the command but, it is giving below error.&lt;/P&gt;

&lt;P&gt;"Error in 'rex' command: Encountered the following error while compiling the regex 'Client:s'(?[^']+).*Volume'(?[^']+)': Regex: unrecognized character after (? or (?- "&lt;/P&gt;</description>
      <pubDate>Mon, 09 Nov 2015 11:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220647#M188108</guid>
      <dc:creator>rkdasari</dc:creator>
      <dc:date>2015-11-09T11:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: need help in displaying specific fields from below output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220648#M188109</link>
      <description>&lt;P&gt;I just tested this and get the desired results. Test this and let me know if you get the same error. This time I entered it as a code sample... Learn something new everyday &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* | head 1 | eval s="Nov 2 18:44:02 netapp-master9.bkp.bf1.yahoo.com NetVault[2655]: NetVault: Client: 'netapp_master9_bkp_bf1' Class: 'Data Plugin' Job: '21483' Warnlevel: 'Error' Msg: 'NDMP: ERROR 1: DATA: Operation terminated: Backup of non-local Volume '/use71-mobstor-bf1/vol070' not supported (for /use71-mobstor-bf1/vol070)'" | rex field=s "Client:\s'(?&amp;lt;client&amp;gt;[^']+).*Volume\s+'(?&amp;lt;volume&amp;gt;[^']+)" | dedup volume | table s client volume
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Nov 2015 14:57:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220648#M188109</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2015-11-09T14:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: need help in displaying specific fields from below output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220649#M188110</link>
      <description>&lt;P&gt;yes it is displaying client and volume in a table format when i run above command that is awesome, but when i try to run this command non-local Volume host="netapp-master9.bkp.bf1.yahoo.com" | rex field=s "Client:\s'(?[^']+).*Volume\s+'(?[^']+)" | dedup volume | table client volume&lt;/P&gt;

&lt;P&gt;it is giving error "No Results Found", i am also trying to do modifications on syntax. Yes learning something new is always excited &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Ram&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 07:49:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220649#M188110</guid>
      <dc:creator>rkdasari</dc:creator>
      <dc:date>2015-11-10T07:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: need help in displaying specific fields from below output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220650#M188111</link>
      <description>&lt;P&gt;Hurray  i got it, thank you very much for your guidance finally i got the output what i am looking for.  &lt;/P&gt;

&lt;P&gt;non-local Volume host="netapp-master9.bkp.bf1.yahoo.com" | rex "Client:\s'(?[^']+).*Volume\s+'(?[^']+)" | dedup volume | table client volume&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2015 07:52:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/need-help-in-displaying-specific-fields-from-below-output/m-p/220650#M188111</guid>
      <dc:creator>rkdasari</dc:creator>
      <dc:date>2015-11-10T07:52:32Z</dc:date>
    </item>
  </channel>
</rss>

