<?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 Logs not showing up in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logs-not-showing-up/m-p/698721#M57276</link>
    <description>&lt;P&gt;Using below props, but we don't see logs reporting to Splunk,&amp;nbsp; &amp;nbsp;We are assuming that | (pipe symbol) works as a delimiter and we cannot use it in props.&amp;nbsp;&lt;BR /&gt;Just want to know is this props are correct&lt;/P&gt;
&lt;P&gt;[tools:logs]&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)\d{4}\-\d{2}\-\d{2}\s\|\d{2}:\d{2}:\d{2}.\d{3}\s\|
TIME_PREFIX=^
TIME_FORMAT=%Y-%m-%d | %H:%M:%S.%3N
MAX_TIMESTAMP_LOOKAHEAD=28&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Sample logs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2022-02-22 | 04:00:34:909 | main stream logs
| Staticapp-1 - Restart completed&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2022-02-22 | 05:00:34:909 | main stream applicationlogs
| Staticapp-1 - application logs (total=0, active=0, waiting=0) completed&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2022-02-22 | 05:00:34:909 | main stream applicationlogs
| harikpool logs-1 - mainframe script (total=0, active=0, waiting=0) completed&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;</description>
    <pubDate>Wed, 11 Sep 2024 14:13:37 GMT</pubDate>
    <dc:creator>mahesh27</dc:creator>
    <dc:date>2024-09-11T14:13:37Z</dc:date>
    <item>
      <title>Logs not showing up</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logs-not-showing-up/m-p/698721#M57276</link>
      <description>&lt;P&gt;Using below props, but we don't see logs reporting to Splunk,&amp;nbsp; &amp;nbsp;We are assuming that | (pipe symbol) works as a delimiter and we cannot use it in props.&amp;nbsp;&lt;BR /&gt;Just want to know is this props are correct&lt;/P&gt;
&lt;P&gt;[tools:logs]&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)\d{4}\-\d{2}\-\d{2}\s\|\d{2}:\d{2}:\d{2}.\d{3}\s\|
TIME_PREFIX=^
TIME_FORMAT=%Y-%m-%d | %H:%M:%S.%3N
MAX_TIMESTAMP_LOOKAHEAD=28&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Sample logs:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;2022-02-22 | 04:00:34:909 | main stream logs
| Staticapp-1 - Restart completed&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2022-02-22 | 05:00:34:909 | main stream applicationlogs
| Staticapp-1 - application logs (total=0, active=0, waiting=0) completed&lt;/LI-CODE&gt;&lt;LI-CODE lang="markup"&gt;2022-02-22 | 05:00:34:909 | main stream applicationlogs
| harikpool logs-1 - mainframe script (total=0, active=0, waiting=0) completed&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;</description>
      <pubDate>Wed, 11 Sep 2024 14:13:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logs-not-showing-up/m-p/698721#M57276</guid>
      <dc:creator>mahesh27</dc:creator>
      <dc:date>2024-09-11T14:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: Logs not showing up</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logs-not-showing-up/m-p/698727#M57277</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249143"&gt;@mahesh27&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;two questions:&lt;/P&gt;&lt;P&gt;1)&lt;/P&gt;&lt;P&gt;do you see logs in a wrong format or don't you see logs?&lt;/P&gt;&lt;P&gt;in the first case, props.conf is relevant, in the second case, there's a different issue.&lt;/P&gt;&lt;P&gt;2)&lt;/P&gt;&lt;P&gt;if you see your logs in wrong format,&amp;nbsp;I suppose that your logs are in one row (because you used SHOULD_LINEMERGE=false), so why are you using the LINE_BREAKER in that way?&lt;/P&gt;&lt;P&gt;See how to index csv files using pipe as delimiter.&lt;/P&gt;&lt;P&gt;My hint is to same some logs in a text file and try to ingest it using the manual Add logs feature, that guides you in props.conf definition and test.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 06:13:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logs-not-showing-up/m-p/698727#M57277</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-09-11T06:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Logs not showing up</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Logs-not-showing-up/m-p/698735#M57279</link>
      <description>&lt;P&gt;In your sample logs, it looks like you have a space after the first pipe which does not appear to be accounted for in your LINE_BREAKER pattern. Try something like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;LINE_BREAKER=([\r\n]+)\d{4}\-\d{2}\-\d{2}\s\|\s\d{2}:\d{2}:\d{2}.\d{3}\s\|&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 11 Sep 2024 06:50:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Logs-not-showing-up/m-p/698735#M57279</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-09-11T06:50:45Z</dc:date>
    </item>
  </channel>
</rss>

