<?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: Add tag in splunk display for jboss class in Knowledge Management</title>
    <link>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81402#M816</link>
    <description>&lt;P&gt;Thank you very much for your reply&lt;/P&gt;

&lt;P&gt;I already try to use Example values like this:&lt;BR /&gt;
[org.jboss.ejb3.interceptors.aop.InterceptorsFactory]&lt;BR /&gt;
[com.testo.xchange.action.FolderSelector]&lt;BR /&gt;
[org.jasig.cas.client.validation.Cas10TicketValidationFilter]&lt;/P&gt;

&lt;P&gt;but the result is: The generated regex was unable to match all examples.&lt;/P&gt;

&lt;P&gt;this is the sample log file:&lt;/P&gt;

&lt;P&gt;2011-09-26 14:38:50,642 WARN  &lt;A href="https://community.splunk.com/http-0.0.0.0-8080-1"&gt;org.jboss.ejb3.interceptors.aop.InterceptorsFactory&lt;/A&gt; EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container&lt;/P&gt;

&lt;P&gt;2011-09-26 14:38:50,333 INFO  &lt;A href="https://community.splunk.com/http-0.0.0.0-8080-1"&gt;com.testo.xchange.action.FolderSelector&lt;/A&gt; set folder page to : maknyus_banget&lt;/P&gt;

&lt;P&gt;2011-09-26 14:37:54,428 WARN  &lt;A href="https://community.splunk.com/http-0.0.0.0-8080-1"&gt;org.jboss.ejb3.interceptors.aop.InterceptorsFactory&lt;/A&gt; EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container&lt;/P&gt;

&lt;P&gt;2011-09-26 14:35:35,332 INFO  &lt;A href="https://community.splunk.com/main"&gt;org.jasig.cas.client.validation.Cas10TicketValidationFilter&lt;/A&gt; Property [serverName] loaded from FilterConfig.getInitParameter with value [&lt;A href="http://192.168.9.19:8080"&gt;http://192.168.9.19:8080&lt;/A&gt;]&lt;/P&gt;

&lt;P&gt;can you give me some sample to make select just insert the bracket or by colomn four for my case?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Sep 2011 11:48:31 GMT</pubDate>
    <dc:creator>catty</dc:creator>
    <dc:date>2011-09-26T11:48:31Z</dc:date>
    <item>
      <title>Add tag in splunk display for jboss class</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81400#M814</link>
      <description>&lt;P&gt;Can we add another tag display in splunk layout? like :&lt;BR /&gt;
host=server.me.local | sourcetype=jboss_serverlog_apps | source=/opt/log/server.log | &lt;STRONG&gt;jbossclass=[this the adding tag]&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;my goal is, if i have some log like this[jboss log]:&lt;BR /&gt;
&lt;STRONG&gt;2011-09-26 12:35:25,588 WARN  &lt;A href="https://community.splunk.com/main" target="_blank"&gt;org.jboss.resource.connectionmanager.TxConnectionManager&lt;/A&gt; Connection error occured:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;we can select text where is insert the bracket "[]" into some tag. then the tag will displayed in splunk tag, after the source tag.&lt;/P&gt;

&lt;P&gt;so the result like this:&lt;BR /&gt;
host=server.me.local | sourcetype=jboss_serverlog_apps | source=/opt/log/server.log | &lt;STRONG&gt;jbossclass=org.jboss.resource.connectionmanager.TxConnectionManager&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Its possible? greatly appreciate every reply. Thank yours for help.&lt;/P&gt;

&lt;P&gt;Best regards,&lt;BR /&gt;
Catty M.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 09:54:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81400#M814</guid>
      <dc:creator>catty</dc:creator>
      <dc:date>2020-09-28T09:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add tag in splunk display for jboss class</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81401#M815</link>
      <description>&lt;P&gt;Absolutely!&lt;/P&gt;

&lt;P&gt;Just create an extraction for the &lt;CODE&gt;jbossclass&lt;/CODE&gt; field, for instance using the &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/User/InteractiveFieldExtractionExample"&gt;Interactive Field Extractor&lt;/A&gt;. Then, with the extraction for &lt;CODE&gt;jbossclass&lt;/CODE&gt; done, it should show up in the field picker on the left in the Search app. Clicking the field name will give you a menu with a number options, among others "Select/show in results", which will give you the exact behaviour you're looking for.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2011 10:36:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81401#M815</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-09-26T10:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add tag in splunk display for jboss class</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81402#M816</link>
      <description>&lt;P&gt;Thank you very much for your reply&lt;/P&gt;

&lt;P&gt;I already try to use Example values like this:&lt;BR /&gt;
[org.jboss.ejb3.interceptors.aop.InterceptorsFactory]&lt;BR /&gt;
[com.testo.xchange.action.FolderSelector]&lt;BR /&gt;
[org.jasig.cas.client.validation.Cas10TicketValidationFilter]&lt;/P&gt;

&lt;P&gt;but the result is: The generated regex was unable to match all examples.&lt;/P&gt;

&lt;P&gt;this is the sample log file:&lt;/P&gt;

&lt;P&gt;2011-09-26 14:38:50,642 WARN  &lt;A href="https://community.splunk.com/http-0.0.0.0-8080-1"&gt;org.jboss.ejb3.interceptors.aop.InterceptorsFactory&lt;/A&gt; EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container&lt;/P&gt;

&lt;P&gt;2011-09-26 14:38:50,333 INFO  &lt;A href="https://community.splunk.com/http-0.0.0.0-8080-1"&gt;com.testo.xchange.action.FolderSelector&lt;/A&gt; set folder page to : maknyus_banget&lt;/P&gt;

&lt;P&gt;2011-09-26 14:37:54,428 WARN  &lt;A href="https://community.splunk.com/http-0.0.0.0-8080-1"&gt;org.jboss.ejb3.interceptors.aop.InterceptorsFactory&lt;/A&gt; EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container&lt;/P&gt;

&lt;P&gt;2011-09-26 14:35:35,332 INFO  &lt;A href="https://community.splunk.com/main"&gt;org.jasig.cas.client.validation.Cas10TicketValidationFilter&lt;/A&gt; Property [serverName] loaded from FilterConfig.getInitParameter with value [&lt;A href="http://192.168.9.19:8080"&gt;http://192.168.9.19:8080&lt;/A&gt;]&lt;/P&gt;

&lt;P&gt;can you give me some sample to make select just insert the bracket or by colomn four for my case?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2011 11:48:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81402#M816</guid>
      <dc:creator>catty</dc:creator>
      <dc:date>2011-09-26T11:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add tag in splunk display for jboss class</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81403#M817</link>
      <description>&lt;P&gt;Give Splunk enough different examples and it should finally be able to figure out a working regular expression for you. But, this regex might work for your case: &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;\[(?P&amp;lt;FIELDNAME&amp;gt;[^]]+\])\s*\(&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Enter it in the text field that shows up when you click the "Edit" button in the field extractor. Then call the field what you want, like "jbossclass" for instance.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2011 12:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81403#M817</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2011-09-26T12:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Add tag in splunk display for jboss class</title>
      <link>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81404#M818</link>
      <description>&lt;P&gt;yes you right Ayn. Thank you very much for your help, very helpful. This is my regex [(?P&lt;FIELDNAME&gt;[^]]+)&lt;/FIELDNAME&gt;&lt;/P&gt;

&lt;P&gt;FIXED.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2011 09:52:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Knowledge-Management/Add-tag-in-splunk-display-for-jboss-class/m-p/81404#M818</guid>
      <dc:creator>catty</dc:creator>
      <dc:date>2011-09-27T09:52:53Z</dc:date>
    </item>
  </channel>
</rss>

