<?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: Set up Syntax highlighted for a log file in Alerting</title>
    <link>https://community.splunk.com/t5/Alerting/How-would-I-set-up-Syntax-highlighted-for-a-log-file/m-p/614159#M14293</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/248492"&gt;@uchoavaz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;no this is possible only for json format, not for raw text.&lt;/P&gt;&lt;P&gt;ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Thu, 22 Sep 2022 15:18:45 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2022-09-22T15:18:45Z</dc:date>
    <item>
      <title>How would I set up Syntax highlighted for a log file?</title>
      <link>https://community.splunk.com/t5/Alerting/How-would-I-set-up-Syntax-highlighted-for-a-log-file/m-p/614125#M14287</link>
      <description>&lt;P&gt;Hello!&lt;BR /&gt;&lt;BR /&gt;I have a log file with the following pattern:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;13:06:03 &amp;#27;[31mCRITICAL &amp;#27;[39m &amp;#27;[33m[app]&amp;#27;[39m An error happened while processing message active/mastercard/event/secondpresentmentcreateevent/v1/2022/08/30/afae9068-8dc2-5e3a-9e4a-83081925238f ["message" =&amp;gt; "[{"requestid":"49120180-f64d-863d-f7f5-c2f58b180587","source":"SYSTEM","reasoncode":"INVALID_REQUEST","description":" [CreateCR2] usecase is not applicable in this context.","recoverable":false,"details":[{"name":"ErrorDetailCode","value":"100001"}]}]","status" =&amp;gt; 400,"trace" =&amp;gt; [["file" =&amp;gt; "/var/www/drm-scheme/vendor/react/event-loop/src/Timer/Timers.php","line" =&amp;gt; 101,"function" =&amp;gt; "App\Command\{closure}","class" =&amp;gt; "App\Command\AbstractQueueProcessor","type" =&amp;gt; "-&amp;gt;"],["file" =&amp;gt; "/var/www/drm-scheme/vendor/react/event-loop/src/StreamSelectLoop.php","line" =&amp;gt; 185,"function" =&amp;gt; "tick","class" =&amp;gt; "React\EventLoop\Timer\Timers","type" =&amp;gt; "-&amp;gt;"],["file" =&amp;gt; "/var/www/drm-scheme/src/AppBundle/Command/AbstractQueueProcessor.php","line" =&amp;gt; 311,"function" =&amp;gt; "run","class" =&amp;gt; "React\EventLoop\StreamSelectLoop","type" =&amp;gt; "-&amp;gt;"],["file" =&amp;gt; "/var/www/drm-scheme/vendor/symfony/console/Command/Command.php","line" =&amp;gt; 255,"function" =&amp;gt; "execute","class" =&amp;gt; "App\Command\AbstractQueueProcessor","type" =&amp;gt; "-&amp;gt;"],["file" =&amp;gt; "/var/www/drm-scheme/vendor/symfony/console/Application.php","line" =&amp;gt; 929,"function" =&amp;gt; "run","class" =&amp;gt; "Symfony\Component\Console\Command\Command","type" =&amp;gt; "-&amp;gt;"],["file" =&amp;gt; "/var/www/drm-scheme/vendor/symfony/framework-bundle/Console/Application.php","line" =&amp;gt; 96,"function" =&amp;gt; "doRunCommand","class" =&amp;gt; "Symfony\Component\Console\Application","type" =&amp;gt; "-&amp;gt;"],["file" =&amp;gt; "/var/www/drm-scheme/vendor/symfony/console/Application.php","line" =&amp;gt; 264,"function" =&amp;gt; "doRunCommand","class" =&amp;gt; "Symfony\Bundle\FrameworkBundle\Console\Application","type" =&amp;gt; "-&amp;gt;"],["file" =&amp;gt; "/var/www/drm-scheme/vendor/symfony/framework-bundle/Console/Application.php","line" =&amp;gt; 82,"function" =&amp;gt; "doRun","class" =&amp;gt; "Symfony\Component\Console\Application","type" =&amp;gt; "-&amp;gt;"],["file" =&amp;gt; "/var/www/drm-scheme/vendor/symfony/console/Application.php","line" =&amp;gt; 140,"function" =&amp;gt; "doRun","class" =&amp;gt; "Symfony\Bundle\FrameworkBundle\Console\Application","type" =&amp;gt; "-&amp;gt;"],["file" =&amp;gt; "/var/www/drm-scheme/bin/console","line" =&amp;gt; 42,"function" =&amp;gt; "run","class" =&amp;gt; "Symfony\Component\Console\Application","type" =&amp;gt; "-&amp;gt;"]],"line" =&amp;gt; 261,"class" =&amp;gt; "App\Command\AbstractQueueProcessor","request" =&amp;gt; "active/mastercard/request/secondpresentmentrequest/v1/2022/08/29/204618304273/cb905322-b2ab-4742-8acd-a7915b9be744","caseId" =&amp;gt; "204618304273"] ["uid" =&amp;gt; "31473ed"]&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But i need to understand how can i set up in the Settings -&amp;gt; Source types -&amp;gt; (sourcetype name create) to make this event highlighted. Here is how i tried to set up (but didn't work):&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de Tela 2022-09-22 às 10.29.00 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21611i9E5A27B1286A4485/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura de Tela 2022-09-22 às 10.29.00 AM.png" alt="Captura de Tela 2022-09-22 às 10.29.00 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 15:47:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-would-I-set-up-Syntax-highlighted-for-a-log-file/m-p/614125#M14287</guid>
      <dc:creator>uchoavaz</dc:creator>
      <dc:date>2022-09-22T15:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Set up Syntax highlighted for a log file</title>
      <link>https://community.splunk.com/t5/Alerting/How-would-I-set-up-Syntax-highlighted-for-a-log-file/m-p/614129#M14288</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/248492"&gt;@uchoavaz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you better describe what do you mean with "highlighted"?&lt;/P&gt;&lt;P&gt;In a sourcetype you define many things: format, fields, aliases, etc... but there isn't the possibility to highlight a parte of an event.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 13:56:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-would-I-set-up-Syntax-highlighted-for-a-log-file/m-p/614129#M14288</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-22T13:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Set up Syntax highlighted for a log file</title>
      <link>https://community.splunk.com/t5/Alerting/How-would-I-set-up-Syntax-highlighted-for-a-log-file/m-p/614146#M14289</link>
      <description>&lt;P&gt;I will give you an example... This json event i could set up the highlight&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de Tela 2022-09-22 às 11.39.58 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21613i6B282872C719A77C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura de Tela 2022-09-22 às 11.39.58 AM.png" alt="Captura de Tela 2022-09-22 às 11.39.58 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The raw text is:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{"message":"Nothing to process in worldpay-prd-scheme-event-store-queue-dlq","context":[],"level":200,"level_name":"INFO","channel":"app","datetime":{"date":"2022-08-30 13:06:13.999247","timezone_type":3,"timezone":"UTC"},"extra":{"uid":"e527f53"}}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the sourcetype setup is:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Captura de Tela 2022-09-22 às 11.41.06 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/21614i92A744913DCA0E9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Captura de Tela 2022-09-22 às 11.41.06 AM.png" alt="Captura de Tela 2022-09-22 às 11.41.06 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 14:42:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-would-I-set-up-Syntax-highlighted-for-a-log-file/m-p/614146#M14289</guid>
      <dc:creator>uchoavaz</dc:creator>
      <dc:date>2022-09-22T14:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Set up Syntax highlighted for a log file</title>
      <link>https://community.splunk.com/t5/Alerting/How-would-I-set-up-Syntax-highlighted-for-a-log-file/m-p/614159#M14293</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/248492"&gt;@uchoavaz&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;no this is possible only for json format, not for raw text.&lt;/P&gt;&lt;P&gt;ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 22 Sep 2022 15:18:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Alerting/How-would-I-set-up-Syntax-highlighted-for-a-log-file/m-p/614159#M14293</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-09-22T15:18:45Z</dc:date>
    </item>
  </channel>
</rss>

