<?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: JSON field extraction beyond  5000 chars in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/550015#M91348</link>
    <description>&lt;P&gt;The events have about 20 fields.&amp;nbsp; &amp;nbsp;There's one very long field which contains a stack trace.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 13:50:50 GMT</pubDate>
    <dc:creator>Sahansral</dc:creator>
    <dc:date>2021-04-30T13:50:50Z</dc:date>
    <item>
      <title>JSON field extraction beyond  5000 chars</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/549963#M91335</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;we have a problem with long JSON events that have a length over 5000 chars&amp;nbsp; (under 5000 works fine).&lt;BR /&gt;The auto-field-extraction stops around the 5000 char limit, so fields beyond that are not recognized at all.&lt;BR /&gt;&lt;BR /&gt;Also the JSON structure of these long events isn't formatted in the result list after a search.&lt;BR /&gt;&lt;BR /&gt;We set extraction_cutoff in limits.conf to 10000 and restarted, but it didn't help.&amp;nbsp;&lt;BR /&gt;Is there another limit&amp;nbsp; we can set?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 07:18:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/549963#M91335</guid>
      <dc:creator>Sahansral</dc:creator>
      <dc:date>2021-04-30T07:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: JSON field extraction beyond  5000 chars</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/549964#M91336</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228561"&gt;@Sahansral&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;did you tried to insert the option &lt;STRONG&gt;TRUNCATE = 1000000&lt;/STRONG&gt; in your props.conf?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 08:07:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/549964#M91336</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-30T08:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: JSON field extraction beyond  5000 chars</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/549975#M91341</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Giuseppe,&lt;BR /&gt;I tried it, but it didn't solve the problem.&lt;BR /&gt;As far as I know, truncate belongs to line breaking and the events are indexed completely.&lt;BR /&gt;No truncation.&lt;BR /&gt;Only the json auto extraction is messed up.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 09:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/549975#M91341</guid>
      <dc:creator>Sahansral</dc:creator>
      <dc:date>2021-04-30T09:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: JSON field extraction beyond  5000 chars</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/549990#M91344</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/228561"&gt;@Sahansral&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share a sample of your logs?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 12:18:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/549990#M91344</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-04-30T12:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: JSON field extraction beyond  5000 chars</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/550011#M91345</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How many fields do you have in your event? If it is more than 100 fields then you need to increase below settings in limits.conf on SH.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[kv]
limit = &amp;lt;integer&amp;gt;
* The maximum number of fields that an automatic key-value field extraction
  (auto kv) can generate at search time.
* The summary fields 'host', 'index', 'source', 'sourcetype', 'eventtype',
  'linecount', 'splunk_server', and 'splunk_server_group' do not count against
  this limit and will always be returned.
* Increase this setting if, for example, you have data with a large
  number of columns and want to ensure that searches display all fields extracted
  from an automatic key-value field (auto kv) configuration.
* Set this value to 0 if you do not want to limit the number of fields
  that can be extracted at index time and search time.
* Default: 100&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 13:41:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/550011#M91345</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2021-04-30T13:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: JSON field extraction beyond  5000 chars</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/550015#M91348</link>
      <description>&lt;P&gt;The events have about 20 fields.&amp;nbsp; &amp;nbsp;There's one very long field which contains a stack trace.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 13:50:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/550015#M91348</guid>
      <dc:creator>Sahansral</dc:creator>
      <dc:date>2021-04-30T13:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: JSON field extraction beyond  5000 chars</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/550016#M91349</link>
      <description>&lt;P&gt;Is it possible you to provide sample event (Remove any sensitive data) and query which you are using?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 13:54:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/550016#M91349</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2021-04-30T13:54:48Z</dc:date>
    </item>
    <item>
      <title>Re: JSON field extraction beyond  5000 chars</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/550178#M91367</link>
      <description>&lt;P&gt;Here one log event:&lt;BR /&gt;{"Timestamp":"2021-04-21T20:01:44.6168842+02:00","Message":"Es ist ein Fehler aufgetreten. ErrorMessage: Fehler beim Lesen der Einkaufsliste. PersId = 132, Monat 10, Jahr 2020; {@RequestInfo}","Level":"Error","Exception":{"Type":"xxxxxx.ooo.uuuuuuuu.zzz.zzzzzzzz.Integration.Exceptions.BargeldlosIntegratorException","Message":"Fehler beim Lesen der Einkaufsliste. PersId = 132, Monat 10, Jahr 2020","Source":"xxxxxx.ooo.uuuuuuuu.zzz.zzzzzzzz.Integration.01","StackTrace":" bei xxxxxx.ooo.uuuuuuuu.zzz.zzzzzzzz.Integration.BargeldlosIntegrator.GetEinkaufsliste(Int32 persId, Int32 jahr, Int32 monat)\r\n bei xxxxxx.ooo.uuuuuuuu.zzz.iii.zzzzzzzz.API.Controllers.BargeldlosController.GetEinkaufsliste(Int32 persId, Int32 jahr, Int32 monat)\r\n bei lambda_method(Closure , Object , Object[] )\r\n bei System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.&amp;lt;&amp;gt;c__DisplayClass6_2.&amp;lt;GetExecutor&amp;gt;b__2(Object instance, Object[] methodParameters)\r\n bei System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n bei System.Web.Http.Controllers.ApiControllerActionInvoker.&amp;lt;InvokeActionAsyncCore&amp;gt;d__1.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n bei System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__6.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__6.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n bei System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__5.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n bei System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__6.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;CallOnActionExecutedAsync&amp;gt;d__6.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n bei System.Web.Http.Filters.ActionFilterAttribute.&amp;lt;ExecuteActionFilterAsyncCore&amp;gt;d__5.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n bei System.Web.Http.Controllers.ActionFilterResult.&amp;lt;ExecuteAsync&amp;gt;d__5.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n bei System.Web.Http.Filters.AuthorizationFilterAttribute.&amp;lt;ExecuteAuthorizationFilterAsyncCore&amp;gt;d__3.MoveNext()\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n bei System.Runtime.CompilerServices.TaskAwaiter.HandleNon[...]","TargetSite":"xxxxxx.ooo.uuuuuuuuuuuuuuuuuuuuu.llllDatenVerwaltung.Einkauf[] GetEinkaufsliste(Int32, Int32, Int32)","InnerException":{"Type":"System.NotImplementedException","Message":"Die Methode oder der Vorgang ist nicht implementiert.","Source":"xxxxxx.ooo.uuuuuuuuuuuuuuuuuuuuu.llllDatenVerwaltung.01","StackTrace":" bei xxxxxx.ooo.uuuuuuuuuuuuuuuuuuuuu.llllDatenVerwaltung.llllDatenManager.GetEinkaufsListe(Int32 persId, Int32 jahr, Int32 monat)\r\n bei xxxxxx.ooo.uuuuuuuu.zzz.zzzzzzzz.Integration.BargeldlosIntegrator.GetEinkaufsliste(Int32 persId, Int32 jahr, Int32 monat)","TargetSite":"System.Collections.Generic.IList`1[xxxxxx.ooo.uuuuuuuuuuuuuuuuuuuuu.llllDatenVerwaltung.Einkauf] GetEinkaufsListe(Int32, Int32, Int32)"},},"RequestInfo":{"RequestHost":"zzz.dev.dvint.de","RequestUri":"/iii.zzzzzzzz.API/api/v1/bargeldlos/einkaufsliste/132/2021/4","RequestMethod":"GET","RequestedController":"xxxxxx.ooo.uuuuuuuu.zzz.iii.zzzzzzzz.API.Controllers.BargeldlosController","RequestParams":{"persId":132,"jahr":2021,"monat":4}},"Stage":"Test","ProgramName":"iii.zzzzzzzz.API","Host":"zzz13350"}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I noticed when I use&lt;STRONG&gt; indexed_extractions=json&lt;/STRONG&gt; all fields are extracted properly- When I use &lt;STRONG&gt;kv_mode=json&lt;/STRONG&gt; then&amp;nbsp; the last correct extracted field is&amp;nbsp;&amp;nbsp; exception.innerexception.targetside.&lt;BR /&gt;The search result isn't properly formatted for both (no json-structure that can be unfolded).&lt;BR /&gt;I could use indexed_extractions as an emergency solution, but I would prefer to use the more storage saving kv_mode=json.&lt;/P&gt;</description>
      <pubDate>Mon, 03 May 2021 07:36:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-field-extraction-beyond-5000-chars/m-p/550178#M91367</guid>
      <dc:creator>Sahansral</dc:creator>
      <dc:date>2021-05-03T07:36:53Z</dc:date>
    </item>
  </channel>
</rss>

