<?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: How to fetch file name from raw logs in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656244#M54056</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Aug 2023 10:54:26 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2023-08-31T10:54:26Z</dc:date>
    <item>
      <title>How to fetch file name from raw logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656228#M54052</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2023-08-27&lt;/SPAN&gt; &lt;SPAN class=""&gt;10:34:18.285&lt;/SPAN&gt; [&lt;SPAN class=""&gt;INFO&lt;/SPAN&gt; ] [&lt;SPAN class=""&gt;Thread-30&lt;/SPAN&gt;] &lt;SPAN class=""&gt;TriumphUnbilledProcessor&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN class=""&gt;TRIM.UNBILLED&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;event&lt;/SPAN&gt; &lt;SPAN class=""&gt;published&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;ebnc:&lt;/SPAN&gt;&lt;/SPAN&gt; [{"&lt;SPAN class=""&gt;status&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;SUCCESS&lt;/SPAN&gt;","&lt;SPAN class=""&gt;description&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;Event&lt;/SPAN&gt; &lt;SPAN class=""&gt;saved&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;database&lt;/SPAN&gt; &lt;SPAN class=""&gt;successfully.&lt;/SPAN&gt;"}]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;2023-08-27&lt;/SPAN&gt; &lt;SPAN class=""&gt;07:38:31.688&lt;/SPAN&gt;&lt;SPAN&gt; [&lt;/SPAN&gt;&lt;SPAN class=""&gt;INFO&lt;/SPAN&gt;&lt;SPAN&gt; ] [&lt;/SPAN&gt;&lt;SPAN class=""&gt;Thread-31&lt;/SPAN&gt;&lt;SPAN&gt;] &lt;/SPAN&gt;&lt;SPAN class=""&gt;TriumphCancelTransferProcessor&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN class=""&gt;TRIM.CNX&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;event&lt;/SPAN&gt; &lt;SPAN class=""&gt;published&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;ebnc:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; [{"&lt;/SPAN&gt;&lt;SPAN class=""&gt;status&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;SUCCESS&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;description&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;Event&lt;/SPAN&gt; &lt;SPAN class=""&gt;saved&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;database&lt;/SPAN&gt; &lt;SPAN class=""&gt;successfully.&lt;/SPAN&gt;&lt;SPAN&gt;"}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I want to fetch filenames(bold) from row logs:&amp;nbsp;&lt;STRONG&gt;&lt;SPAN class=""&gt;TRIM.UNBILLED and&amp;nbsp;TRIM.CNX&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;my current query:&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;index="abc"sourcetype =600000304_gg_abs_ipc1 source="/amex/app/gfp-settlement-raw/logs/gfp-settlement-raw.log" "event published to ebnc:" NOT "Utils -" | rex " event published to ebnc: \[\{\"status\":\"(?&amp;lt;status&amp;gt;.*)\",\"description\":\"(?&amp;lt;description&amp;gt;.*)\"\}\]" | eval message="event published to ebnc"&lt;BR /&gt;| table message status description&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 10:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656228#M54052</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2023-08-31T10:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch file name from raw logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656231#M54053</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;please try the following regex:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;! rex "Triumph.*Processor - (?&amp;lt;field&amp;gt;[^ ]*)"&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/XNehPc/1" target="_blank"&gt;https://regex101.com/r/XNehPc/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 10:13:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656231#M54053</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-31T10:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch file name from raw logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656236#M54054</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It will not always&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Triumph.*Processor&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;CarsUnbilledProcessor&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt;&lt;STRONG&gt; &lt;SPAN class=""&gt;CARS.UNBILLED&lt;/SPAN&gt; &lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;event&lt;/SPAN&gt; &lt;SPAN class=""&gt;published&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;ebnc:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt; [{"&lt;/SPAN&gt;&lt;SPAN class=""&gt;status&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;SUCCESS&lt;/SPAN&gt;&lt;SPAN&gt;","&lt;/SPAN&gt;&lt;SPAN class=""&gt;description&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt;Event&lt;/SPAN&gt; &lt;SPAN class=""&gt;saved&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;database&lt;/SPAN&gt; &lt;SPAN class=""&gt;successfully.&lt;/SPAN&gt;&lt;SPAN&gt;"}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;CarsDeltaHierarchyProcessor&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN class=""&gt;CARS_HIERARCHY&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;event&lt;/SPAN&gt; &lt;SPAN class=""&gt;published&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;ebnc:&lt;/SPAN&gt;&lt;/SPAN&gt; [{"&lt;SPAN class=""&gt;status&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;SUCCESS&lt;/SPAN&gt;","&lt;SPAN class=""&gt;description&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;Event&lt;/SPAN&gt; &lt;SPAN class=""&gt;saved&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;database&lt;/SPAN&gt; &lt;SPAN class=""&gt;successfully.&lt;/SPAN&gt;"}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;2023-08-30&lt;/SPAN&gt; &lt;SPAN class=""&gt;04:30:48.058&lt;/SPAN&gt; [&lt;SPAN class=""&gt;INFO&lt;/SPAN&gt; ] [&lt;SPAN class=""&gt;Thread-43&lt;/SPAN&gt;] &lt;SPAN class=""&gt;TriumphProductProcessor&lt;/SPAN&gt; &lt;SPAN class=""&gt;-&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN class=""&gt;TRIM.PRD&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;event&lt;/SPAN&gt; &lt;SPAN class=""&gt;published&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;ebnc:&lt;/SPAN&gt;&lt;/SPAN&gt; [{"&lt;SPAN class=""&gt;status&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;SUCCESS&lt;/SPAN&gt;","&lt;SPAN class=""&gt;description&lt;/SPAN&gt;"&lt;SPAN class=""&gt;:&lt;/SPAN&gt;"&lt;SPAN class=""&gt;Event&lt;/SPAN&gt; &lt;SPAN class=""&gt;saved&lt;/SPAN&gt; &lt;SPAN class=""&gt;to&lt;/SPAN&gt; &lt;SPAN class=""&gt;database&lt;/SPAN&gt; &lt;SPAN class=""&gt;successfully.&lt;/SPAN&gt;"}]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Its both CARS and Triumph&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;can you provide me regex now.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 10:25:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656236#M54054</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2023-08-31T10:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch file name from raw logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656238#M54055</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;is the processor word always present?&lt;/P&gt;&lt;P&gt;if yes, please try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;! rex "Processor - (?&amp;lt;field&amp;gt;[^ ]*)"&lt;/LI-CODE&gt;&lt;P&gt;in other words, you have to find a rule to apply to the regex to identify the part to extract.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 10:30:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656238#M54055</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-31T10:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to fetch file name from raw logs</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656244#M54056</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225066"&gt;@aditsss&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2023 10:54:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-fetch-file-name-from-raw-logs/m-p/656244#M54056</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-08-31T10:54:26Z</dc:date>
    </item>
  </channel>
</rss>

