<?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: Applying line breakers to data from universal forwarder in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599449#M104534</link>
    <description>&lt;P&gt;These props settings have no effect on a UF so we can ignore it in this case.&lt;/P&gt;&lt;P&gt;The settings go on the indexers, which is on a Linux server in your environment so the /opt/splunk path applies.&amp;nbsp; If your Splunk is installed in a different directory (/Splunk is not uncommon) then use that instead.&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2022 14:46:00 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-05-26T14:46:00Z</dc:date>
    <item>
      <title>How to apply line breakers to data from universal forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599404#M104523</link>
      <description>&lt;P class=""&gt;Hi All,&lt;BR /&gt;&lt;BR /&gt;I have setup a universal forwarder in windows machine to monitor static file which is in json format.&lt;BR /&gt;&lt;BR /&gt;The logs are being forwarded but the point is it is forwarded as single event like below :&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;{"Env": "someenv12”, "Name": "test12”, "feature": "TestFeature12”, "logLevel": "info", "Id": "1234", "date": 1652187242.57, "productName": “testproduct”,  "process_name": “test process, "pid": 695, "process_status": "sleeping", "process_cpu_usage": 0.0, "process_ram_usage": 0.0, "metric_type": "system_process"}
{"Env": "someenv1”3, "Name": "test13”, "feature": "TestFeature12”, "logLevel": “error”, "Id": "234", "date": 1652187342.57, "productName": “testproduct12”,  "process_name": “test process, "pid": 685, "process_status": "sleeping", "process_cpu_usage": 0.0, "process_ram_usage": 0.0, "metric_type": “application_process}
{"Env": "someenv14”, "Name": "test14”, "feature": "TestFeature13”, “info”: “error”, "Id": "2344", "date": 1672187342.57, "productName": “testproduct13”,  "process_name": “test process, "pid": 695, "process_status": "sleeping", "process_cpu_usage": 0.0, "process_ram_usage": 0.0, "metric_type": “security”}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;This entire thing is coming as one event.&lt;BR /&gt;&lt;BR /&gt;I have applied line breakers in props.conf file :&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;[test_sourcetype]
SHOULD_LINEMERGE =false
NO_BINARY_CHECK=true
BREAK_ONLY_BEFORE={"Env"
MUST_BREAK_AFTER=\"\}
TIME_PREFIX=date
TIMEFORMAT=%s%4N
MAX_TIMESTAMP_LOOKAHEAD = 14&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=""&gt;&lt;BR /&gt;I have added it under /SplunkUniversalForwarder/etc/apps/splunk_TA_windows app/local/props.&lt;BR /&gt;&lt;BR /&gt;None of my line breaking is getting applied , please help me on this.&lt;BR /&gt;&lt;BR /&gt;Should I add props.conf under default folder ?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;NVP&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 15:12:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599404#M104523</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2022-05-26T15:12:16Z</dc:date>
    </item>
    <item>
      <title>Re: Applying line breakers to data from universal forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599427#M104527</link>
      <description>&lt;P&gt;The universal forwarder cannot perform line breaking.&amp;nbsp; That is done by the indexer or HF.&lt;/P&gt;&lt;P&gt;Try using these settings in props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[test_sourcetype]
SHOULD_LINEMERGE =false
NO_BINARY_CHECK=true
LINE_BREAKER=()\{"Env"
TIME_PREFIX=date
TIMEFORMAT=%s%4N
MAX_TIMESTAMP_LOOKAHEAD = 14&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 26 May 2022 12:31:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599427#M104527</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-26T12:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Applying line breakers to data from universal forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599440#M104530</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp; - Thanks for your response .&lt;BR /&gt;&lt;BR /&gt;So, this props.conf I will be applying in the path I have mentioned right ?&lt;BR /&gt;&lt;BR /&gt;I mean inside the TA -&amp;nbsp;&lt;SPAN&gt;/SplunkUniversalForwarder/etc/apps/splunk_TA_windows app/local/props.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 13:18:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599440#M104530</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2022-05-26T13:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Applying line breakers to data from universal forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599446#M104532</link>
      <description>&lt;P&gt;As I mentioned, the props.conf settings must be on an indexer or Heavy Forwarder so the path as given is incorrect.&amp;nbsp; It should be $SPLUNK_HOME&lt;SPAN&gt;/etc/apps/splunk_TA_windows app/local/props.conf, where $SPLUNK_HOME usually is&amp;nbsp;/opt/splunk, but can change depending on where you installed Splunk.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:09:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599446#M104532</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-26T14:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: Applying line breakers to data from universal forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599448#M104533</link>
      <description>&lt;P&gt;Apologies for my repeated question.&lt;BR /&gt;&lt;BR /&gt;I understand this folder path&amp;nbsp;&lt;SPAN&gt;$SPLUNK_HOME usually is&amp;nbsp;/opt/splunk, so this will be our linux environment file path.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I also understand the parsing/line_breaking cannot be done at universal forwarder.&lt;BR /&gt;&lt;BR /&gt;In my case, I have installed the Universal forwarder on windows machine , I&amp;nbsp; dont have opt/path there, so it means I have to add it either on heavy forwarder or indexer ?&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:33:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599448#M104533</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2022-05-26T14:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Applying line breakers to data from universal forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599449#M104534</link>
      <description>&lt;P&gt;These props settings have no effect on a UF so we can ignore it in this case.&lt;/P&gt;&lt;P&gt;The settings go on the indexers, which is on a Linux server in your environment so the /opt/splunk path applies.&amp;nbsp; If your Splunk is installed in a different directory (/Splunk is not uncommon) then use that instead.&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2022 14:46:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599449#M104534</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-05-26T14:46:00Z</dc:date>
    </item>
    <item>
      <title>Re: Applying line breakers to data from universal forwarder</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599551#M104549</link>
      <description>&lt;P&gt;Thanks for clarifying &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 May 2022 09:42:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-apply-line-breakers-to-data-from-universal-forwarder/m-p/599551#M104549</guid>
      <dc:creator>Poojitha</dc:creator>
      <dc:date>2022-05-27T09:42:22Z</dc:date>
    </item>
  </channel>
</rss>

