# JSON KIBANA mapeo de campos

**URL:** https://discuss.elastic.co/t/json-kibana-mapeo-de-campos/328525
**Category:** Elastic en Español
**Created:** [March 25, 2023, 8:08pm UTC](https://discuss.elastic.co/t/json-kibana-mapeo-de-campos/328525 "2023-03-25T20:08:43Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [March 25, 2023, 10:10pm UTC](https://discuss.elastic.co/t/json-kibana-mapeo-de-campos/328525/4 "2023-03-25T22:10:43Z")

</div>

> [@Whazaza](#):
>
> ```auto
> [2023-03-25T18:43:14,569][WARN][logstash.filters.json][main][760d1e0432eff631d4ca6fb3cf906f5c7b750c629962011fea2fcf11d6ce25a6] Error parsing json {:source=>"message", :raw=>"\v{\"header\":{\"sendingApplicationNs\":\"XXXXX\",\"sendingApplicationId\":null,\"sendingApplicationIdType\":null,\"sendingFacilityNs\":\"32287\",\"sendingFacilityId\":null,\"receivingApplicationNs\":null,\"receivingApplicationId\":null,\"receivingApplicationIdType\":null,\"receivingFacilityNs\":\"32287\",\"receivingFacilityId\":null,\"messageType\":null,\"triggerEvent\":null,\"messageStructure\":null},\"eventType\":null,\"recordedDateTime\":null,\"eventReasonCode\":null,\"tenantId\":\"sis.XXXXXX.local\",\"port\":443,\"comments\":[{\"code\":null,\"comment\":\"neumonia\",\"coding\":null,\"commentType\":\"DG\"}],\"patient\":{\"pin\":\"94340037\",\"chn\":\"9629667\",\"chnList\":null,\"euid\":null,\"docType\":null,\"authority\":\"1.2.3.4.32287.1\",\"patientType\":null,\"name\":\"ZULMA\",\"surname1\":\"QUINTEROS\",\"surname2\":null,\"birthDateTime\":403585200000,\"sexType\":\"F\",\"raceType\":null,\"addressList\":null,\"familyTelephone\":null,\"emailAddress\":\"\",\"contactTelephone\":null,\"maritalStatus\":null,\"religionType\":null,\"ssn\":null,\"chnMother\":null,\"ethnicGroupType\":null,\"birthCountry\":\"DESC\",\"birthState\":\"DESC\",\"birthTown\":null,\"nacionality\":\"DESC\",\"deathDate\":null,\"updateDate\":null,\"patientIdentified\":null,\"deathIdentificator\":null,\"patientState\":null,\"docsType\":null,\"familyTelephone2\":null,\"emailAddress2\":null,\"emailAddressOther\":null,\"contactTelephone2\":null,\"studentIndicator\":null,\"freeAccountNumber\":null,\"popularNumber\":null,\"pincipalContactName\":null,\"pincipalContactSurname1\":null,\"pincipalContactSurname2\":null,\"patientStatus\":null},\"visit\":{\"transId\":null,\"patientClass\":\"E\",\"pointOfCare\":null,\"room\":\"ClínicaMedica\",\"bed\":null,\"assistanceReason\":\"UR\",\"appointmentId\":null,\"admissionDoctorId\":\"23531299\",\"admissionDoctorSurname1\":\"RAMIREZ\",\"admissionDoctorSurname2\":null,\"admissionDoctorName\":\"GINES JOSE MARIA\",\"admissionSection\":\"URG-GEN\",\"episodeSource\":\"ORG1\",\"episodeNumber\":11573560,\"dischargeDisposition\":null,\"dischargeDestination\":null,\"admitDatetime\":1679768940000,\"dischargeDatetime\":null,\"vipPatient\":false,\"clinicalDischargeServiceCod\":null,\"clinicalDischargeServiceDesc\":null,\"clinicalDischargeSectionCod\":null,\"clinicalDischargeSectionDesc\":null,\"clinicalDischargeCenterCod\":null,\"clinicalDischargeCenterDesc\":null,\"urgDischargeDestCod\":\"\",\"urgDischargeDestDesc\":\"\",\"clinicalDischargeDoctor\":\"\",\"urgDischargeReason\":\"\",\"alternateVisitId\":null,\"alternateVisitType\":null,\"sourceEpisodeId\":null,\"admissionCenterId\":null,\"admissionServiceId\":null,\"admissionSectionId\":null},\"orders\":[{\"commonOrder\":{\"orderControl\":\"NW\",\"orderNumber\":\"10977732\",\"orderNum\":\"10977732\",\"barcode\":null,\"quantityTiming\":null,\"orderStatus\":null,\"transDatetime\":1679713200000,\"providerProfId\":\"23531299\",\"providerProfSurname1\":\"RAMIREZ\",\"providerProfSurname2\":null,\"providerProfName\":\"GINES JOSE MARIA\",\"entLocPointOfCare\":null,\"entLocRoom\":\"LABORATORIO\",\"entLocBed\":null,\"enteringOrganizationId\":\"URG-GEN\",\"enteringOrganizationText\":null,\"enteringOrganizationCodingSystem\":\"M\",\"addEnteringOrganizationId\":null,\"addEnteringOrganizationText\":null,\"addEnteringOrganizationCodingSystem\":null,\"service\":\"URG\",\"organizationName\":\"SEDESA\",\"facility\":null,\"organizationId\":\"SEDESA\",\"orderType\":\"E\",\"parentalServiceId\":null,\"parentalServiceText\":null},\"timingQuantity\":null,\"observatioRequest\":{\"orderNumber\":\"10977732\",\"barcode\":null,\"serviceText\":\"GLUCEMIA \",\"num\":null,\"serviceId\":\"660412\",\"alternateServiceId\":\"Laboratorio\",\"alternateServiceText\":\"LABORATORIO\",\"organization\":\"SEDESA\",\"priority\":\"Alta\",\"requestDateTime\":1679779596814,\"observationDateTime\":null,\"relevantClinicalInformation\":\"neumonia\",\"specimenSource\":null,\"orderingProviderId\":null,\"orderingProviderSurname1\":null,\"orderingProviderSurname2\":null,\"orderingProviderName\":null,\"fillerField1\":null,\"timeRelease\":null,\"diagnosticServSectId\":null,\"changeStatusId\":null,\"parentResultIdentifier\":null,\"parentResultText\":null,\"parentResultCodingSystem\":null,\"parentResultSubId\":null,\"parentResultObservationResult\":null,\"startDateTime\":1679713200000,\"reasonForStudyText\":\"\",\"professionalLicenseRelease\":null,\"surnameRelease\":null,\"nameRelease\":null,\"professionalLicense\":null,\"surname\":null,\"name\":null},\"observationResults\":null},{\"commonOrder\":{\"orderControl\":\"NW\",\"orderNumber\":\"10977732\",\"orderNum\":\"10977732\",\"barcode\":null,\"quantityTiming\":null,\"orderStatus\":null,\"transDatetime\":1679713200000,\"providerProfId\":\"23531299\",\"providerProfSurname1\":\"RAMIREZ\",\"providerProfSurname2\":null,\"providerProfName\":\"GINES JOSE MARIA\",\"entLocPointOfCare\":null,\"entLocRoom\":\"LABORATORIO\",\"entLocBed\":null,\"enteringOrganizationId\":\"URG-GEN\",\"enteringOrganizationText\":null,\"enteringOrganizationCodingSystem\":\"M\",\"addEnteringOrganizationId\":null,\"addEnteringOrganizationText\":null,\"addEnteringOrganizationCodingSystem\":null,\"service\":\"URG\",\"organizationName\":\"SEDESA\",\"facility\":null,\"organizationId\":\"SEDESA\",\"orderType\":\"E\",\"parentalServiceId\":null,\"parentalServiceText\":null},\"timingQuantity\":null,\"observatioRequest\":{\"orderNumber\":\"10977732\",\"barcode\":null,\"serviceText\":\"UREA (UREMIA) \",\"num\":null,\"serviceId\":\"660902\",\"alternateServiceId\":\"Laboratorio\",\"alternateServiceText\":\"LABORATORIO\",\"organization\":\"SEDESA\",\"priority\":\"Alta\",\"requestDateTime\":1679779596820,\"observationDateTime\":null,\"relevantClinicalInformation\":\"neumonia\",\"specimenSource\":null,\"orderingProviderId\":null,\"orderingProviderSurname1\":null,\"orderingProviderSurname2\":null,\"orderingProviderName\":null,\"fillerField1\":null,\"timeRelease\":null,\"diagnosticServSectId\":null,\"changeStatusId\":null,\"parentResultIdentifier\":null,\"parentResultText\":null,\"parentResultCodingSystem\":null,\"parentResultSubId\":null,\"parentResultObservationResult\":null,\"startDateTime\":1679713200000,\"reasonForStudyText\":\"\",\"professionalLicenseRelease\":null,\"surnameRelease\":null,\"nameRelease\":null,\"professionalLicense\":null,\"surname\":null,\"name\":null},\"observationResults\":null},{\"commonOrder\":{\"orderControl\":\"NW\",\"orderNumber\":\"10977732\",\"orderNum\":\"10977732\",\"barcode\":null,\"quantityTiming\":null,\"orderStatus\":null,\"transDatetime\":1679713200000,\"providerProfId\":\"23531299\",\"providerProfSurname1\":\"RAMIREZ\",\"providerProfSurname2\":null,\"providerProfName\":\"GINES JOSE MARIA\",\"entLocPointOfCare\":null,\"entLocRoom\":\"LABORATORIO\",\"entLocBed\":null,\"enteringOrganizationId\":\"URG-GEN\",\"enteringOrganizationText\":null,\"enteringOrganizationCodingSystem\":\"M\",\"addEnteringOrganizationId\":null,\"addEnteringOrganizationText\":null,\"addEnteringOrganizationCodingSystem\":null,\"service\":\"URG\",\"organizationName\":\"SEDESA\",\"facility\":null,\"organizationId\":\"SEDESA\",\"orderType\":\"E\",\"parentalServiceId\":null,\"parentalServiceText\":null},\"timingQuantity\":null,\"observatioRequest\":{\"orderNumber\":\"10977732\",\"barcode\":null,\"serviceText\":\"PERFIL GASES VENOSOS + IONOS + LACTICO\",\"num\":null,\"serviceId\":\"770008\",\"alternateServiceId\":\"Laboratorio\",\"alternateServiceText\":\"LABORATORIO\",\"organization\":\"SEDESA\",\"priority\":\"Alta\",\"requestDateTime\":1679779596826,\"observationDateTime\":null,\"relevantClinicalInformation\":\"neumonia\",\"specimenSource\":null,\"orderingProviderId\":null,\"orderingProviderSurname1\":null,\"orderingProviderSurname2\":null,\"orderingProviderName\":null,\"fillerField1\":null,\"timeRelease\":null,\"diagnosticServSectId\":null,\"changeStatusId\":null,\"parentResultIdentifier\":null,\"parentResultText\":null,\"parentResultCodingSystem\":null,\"parentResultSubId\":null,\"parentResultObservationResult\":null,\"startDateTime\":1679713200000,\"reasonForStudyText\":\"\",\"professionalLicenseRelease\":null,\"surnameRelease\":null,\"nameRelease\":null,\"professionalLicense\":null,\"surname\":null,\"name\":null},\"observationResults\":null},{\"commonOrder\":{\"orderControl\":\"NW\",\"orderNumber\":\"10977732\",\"orderNum\":\"10977732\",\"barcode\":null,\"quantityTiming\":null,\"orderStatus\":null,\"transDatetime\":1679713200000,\"providerProfId\":\"23531299\",\"providerProfSurname1\":\"RAMIREZ\",\"providerProfSurname2\":null,\"providerProfName\":\"GINES JOSE MARIA\",\"entLocPointOfCare\":null,\"entLocRoom\":\"LABORATORIO\",\"entLocBed\":null,\"enteringOrganizationId\":\"URG-GEN\",\"enteringOrganizationText\":null,\"enteringOrganizationCodingSystem\":\"M\",\"addEnteringOrganizationId\":null,\"addEnteringOrganizationText\":null,\"addEnteringOrganizationCodingSystem\":null,\"service\":\"URG\",\"organizationName\":\"SEDESA\",\"facility\":null,\"organizationId\":\"SEDESA\",\"orderType\":\"E\",\"parentalServiceId\":null,\"parentalServiceText\":null},\"timingQuantity\":null,\"observatioRequest\":{\"orderNumber\":\"10977732\",\"barcode\":null,\"serviceText\":\"HEMOGRAMA (CITOLOGICO COMPLETO)\",\"num\":null,\"serviceId\":\"660475\",\"alternateServiceId\":\"Laboratorio\",\"alternateServiceText\":\"LABORATORIO\",\"organization\":\"SEDESA\",\"priority\":\"Alta\",\"requestDateTime\":1679779596832,\"observationDateTime\":null,\"relevantClinicalInformation\":\"neumonia\",\"specimenSource\":null,\"orderingProviderId\":null,\"orderingProviderSurname1\":null,\"orderingProviderSurname2\":null,\"orderingProviderName\":null,\"fillerField1\":null,\"timeRelease\":null,\"diagnosticServSectId\":null,\"changeStatusId\":null,\"parentResultIdentifier\":null,\"parentResultText\":null,\"parentResultCodingSystem\":null,\"parentResultSubId\":null,\"parentResultObservationResult\":null,\"startDateTime\":1679713200000,\"reasonForStudyText\":\"\",\"professionalLicenseRelease\":null,\"surnameRelease\":null,\"nameRelease\":null,\"professionalLicense\":null,\"surname\":null,\"name\":null},\"observationResults\":null},{\"commonOrder\":{\"orderControl\":\"NW\",\"orderNumber\":\"10977732\",\"orderNum\":\"10977732\",\"barcode\":null,\"quantityTiming\":null,\"orderStatus\":null,\"transDatetime\":1679713200000,\"providerProfId\":\"23531299\",\"providerProfSurname1\":\"RAMIREZ\",\"providerProfSurname2\":null,\"providerProfName\":\"GINES JOSE MARIA\",\"entLocPointOfCare\":null,\"entLocRoom\":\"LABORATORIO\",\"entLocBed\":null,\"enteringOrganizationId\":\"URG-GEN\",\"enteringOrganizationText\":null,\"enteringOrganizationCodingSystem\":\"M\",\"addEnteringOrganizationId\":null,\"addEnteringOrganizationText\":null,\"addEnteringOrganizationCodingSystem\":null,\"service\":\"URG\",\"organizationName\":\"SEDESA\",\"facility\":null,\"organizationId\":\"SEDESA\",\"orderType\":\"E\",\"parentalServiceId\":null,\"parentalServiceText\":null},\"timingQuantity\":null,\"observatioRequest\":{\"orderNumber\":\"10977732\",\"barcode\":null,\"serviceText\":\"CREATININA \",\"num\":null,\"serviceId\":\"660192\",\"alternateServiceId\":\"Laboratorio\",\"alternateServiceText\":\"LABORATORIO\",\"organization\":\"SEDESA\",\"priority\":\"Alta\",\"requestDateTime\":1679779596837,\"observationDateTime\":null,\"relevantClinicalInformation\":\"neumonia\",\"specimenSource\":null,\"orderingProviderId\":null,\"orderingProviderSurname1\":null,\"orderingProviderSurname2\":null,\"orderingProviderName\":null,\"fillerField1\":null,\"timeRelease\":null,\"diagnosticServSectId\":null,\"changeStatusId\":null,\"parentResultIdentifier\":null,\"parentResultText\":null,\"parentResultCodingSystem\":null,\"parentResultSubId\":null,\"parentResultObservationResult\":null,\"startDateTime\":1679713200000,\"reasonForStudyText\":\"\",\"professionalLicenseRelease\":null,\"surnameRelease\":null,\"nameRelease\":null,\"professionalLicense\":null,\"surname\":null,\"name\":null},\"observationResults\":null}],\"patientInsurance\":[null]}", :exception=>#<LogStash::Json::ParserError: Illegal character ((CTRL-CHAR, code 11)): only regular white space (\r, \n, \t) is allowed between tokens
> at [Source: (byte[])"\u000B{"header":{"sendingApplicationNs":"null","sendingApplicationId":null,"sendingApplicationIdType":null,"sendingFacilityNs":"32287","sendingFacilityId":null,"receivingApplicationNs":null,"receivingApplicationId":null,"receivingApplicationIdType":null,"receivingFacilityNs":"32287","receivingFacilityId":null,"messageType":null,"triggerEvent":null,"messageStructure":null},"eventType":null,"recordedDateTime":null,"eventReasonCode":null,"tenantId":"sis.XXXXXX.local","port":443,"comments":[{"code":nul"[truncated 10409 bytes]; line: 1, column: 2]>}
> 
> ```

Tienes un error en su mensaje JSON.

El mensaje tiene un carácter no permitido en el principio.

> [2023-03-25T18:43:14,569][WARN][logstash.filters.json][main][760d1e0432eff631d4ca6fb3cf906f5c7b750c629962011fea2fcf11d6ce25a6] Error parsing json {:source=\>"message", :raw=\>" **\v** {"header":

¿Qué está enviando ese mensaje? Necesitas validar en la origen del mensaje.

---

_[View the full topic](https://discuss.elastic.co/t/json-kibana-mapeo-de-campos/328525)._
