<?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 the blacklist in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/REGEX-for-the-blacklist/m-p/388689#M42749</link>
    <description>&lt;P&gt;Hi @damucka,&lt;/P&gt;

&lt;P&gt;Try this regex for blacklist &lt;CODE&gt;indexserver_ls\d+\.\d+_\w+\.trc&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Jan 2019 13:12:17 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2019-01-08T13:12:17Z</dc:date>
    <item>
      <title>REGEX for the blacklist</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/REGEX-for-the-blacklist/m-p/388688#M42748</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I need help with the REGEX for my blacklist. I have the following file pattern on the source:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;indexserver_ls5783.30240.341.trc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but sometimes the end users switch additional traces, which follow the pattern:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;indexserver_ls5783.30240_trc115.trc
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;On the example above, the user activated additional trace with the context name "trc115", which has been appended to the name after underline replacing the tracefile number.&lt;BR /&gt;
Now, I would like to blacklist these user defined traces.&lt;BR /&gt;
The starting point for the blacklist regex would be the 5 digits (this is the port number and does not have to be always 30240) + "_" + string + ".trc"&lt;BR /&gt;
Could you help me with the corresponding blacklist REGEX?&lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;BR /&gt;
Kamil&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 13:01:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/REGEX-for-the-blacklist/m-p/388688#M42748</guid>
      <dc:creator>damucka</dc:creator>
      <dc:date>2019-01-08T13:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: REGEX for the blacklist</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/REGEX-for-the-blacklist/m-p/388689#M42749</link>
      <description>&lt;P&gt;Hi @damucka,&lt;/P&gt;

&lt;P&gt;Try this regex for blacklist &lt;CODE&gt;indexserver_ls\d+\.\d+_\w+\.trc&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jan 2019 13:12:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/REGEX-for-the-blacklist/m-p/388689#M42749</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2019-01-08T13:12:17Z</dc:date>
    </item>
  </channel>
</rss>

