I mean, I copied a doc data and then inserted it back into elastic search. The data did not appear.
I try to select the largest time range of query,but still no results.
What changes do I need to make to successfully re insert doc data?
[root@es-node02 elasticsearch]# curl -u elastic:elastic -H "Content-Type: application/json" -XPOST http://192.168.10.140:9200/apm-7.8.1-error-000012/_doc/ -d '
> {
> "container": {
> "id": "f1a462fb6c3f47d3e749f995f45dd5d130a19dd0c8d24e717cb917c882faffd3"
> },
> "parent": {
> "id": "9048551fa600b047"
> },
> "kubernetes": {
> "pod": {
> "uid": "f1a462fb6c3f47d3e749f995f45dd5d130a19dd0c8d24e717cb917c882faffd3",
> "name": "mespro-74796bd85d-m949w"
> }
> },
> "agent": {
> "name": "dotnet",
> "version": "1.6.1"
> },
> "source": {
> "ip": "192.168.10.182"
> },
> "error": {
> "exception": [
> {
> "stacktrace": [
> {
> "exclude_from_grouping": false,
> "abs_path": "/app/src/MESPro.Application/MesServices/MesAppService.cs",
> "filename": "MESPro.MesServices.MesAppService+<CheckCurrentBindingBOM>d__49",
> "line": {
> "number": 858
> },
> "module": "MESPro.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null",
> "function": "CheckCurrentBindingBOM"
> },
> {
> "exclude_from_grouping": false,
> "filename": "N/A",
> "line": {
> "number": 0
> },
> "function": "lambda_method"
> },
> {
> "exclude_from_grouping": false,
> "filename": "Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+AwaitableResultExecutor+<Execute>d__0",
> "abs_path": "",
> "line": {
> "number": 0
> },
> "module": "Microsoft.AspNetCore.Mvc.Core, Version=3.1.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
> "function": "Execute"
> },
> {
> "exclude_from_grouping": false,
> "filename": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker+<<InvokeActionMethodAsync>g__Logged|12_1>d",
> "abs_path": "",
> "line": {
> "number": 0
> },
> "module": "Microsoft.AspNetCore.Mvc.Core, Version=3.1.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
> "function": "<InvokeActionMethodAsync>g__Logged|12_1"
> },
> {
> "exclude_from_grouping": false,
> "abs_path": "",
> "filename": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker+<<InvokeNextActionFilterAsync>g__Awaited|10_0>d",
> "line": {
> "number": 0
> },
> "module": "Microsoft.AspNetCore.Mvc.Core, Version=3.1.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
> "function": "<InvokeNextActionFilterAsync>g__Awaited|10_0"
> },
> {
> "exclude_from_grouping": false,
> "abs_path": "",
> "filename": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker",
> "line": {
> "number": 0
> },
> "module": "Microsoft.AspNetCore.Mvc.Core, Version=3.1.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
> "function": "Rethrow"
> },
> {
> "exclude_from_grouping": false,
> "filename": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker",
> "abs_path": "",
> "line": {
> "number": 0
> },
> "module": "Microsoft.AspNetCore.Mvc.Core, Version=3.1.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
> "function": "Next"
> },
> {
> "exclude_from_grouping": false,
> "filename": "Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker+<<InvokeInnerFilterAsync>g__Awaited|13_0>d",
> "abs_path": "",
> "line": {
> "number": 0
> },
> "module": "Microsoft.AspNetCore.Mvc.Core, Version=3.1.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
> "function": "<InvokeInnerFilterAsync>g__Awaited|13_0"
> },
> {
> "exclude_from_grouping": false,
> "filename": "Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker+<<InvokeNextExceptionFilterAsync>g__Awaited|25_0>d",
> "abs_path": "",
> "line": {
> "number": 0
> },
> "module": "Microsoft.AspNetCore.Mvc.Core, Version=3.1.10.0, Culture=neutral, PublicKeyToken=adb9793829ddae60",
> "function": "<InvokeNextExceptionFilterAsync>g__Awaited|25_0"
> }
> ],
> "handled": false,
> "message": "错误!IOT板 PCB板2G模块未绑定!",
> "type": "Abp.UI.UserFriendlyException"
> }
> ],
> "culprit": "System.Runtime.ExceptionServices.ExceptionDispatchInfo",
> "id": "0b201403f5732981d01dcfd29d11ebf7",
> "grouping_key": "3a4290e10eda28346232f3af1a2ddd2c"
> },
> "processor": {
> "name": "error",
> "event": "error"
> },
> "url": {
> "path": "/api/mespro/mes/checkcurrentbindingbom",
> "original": "http://api.test.com/api/mespro/mes/checkcurrentbindingbom",
> "scheme": "HTTP",
> "query": "",
> "domain": "api.test.com",
> "full": "http://api.test.com/api/mespro/mes/checkcurrentbindingbom"
> },
> "observer": {
> "hostname": "apm-server-7dd8889f4c-95gjt",
> "id": "31840149-ce96-41e9-93ca-6f4879921244",
> "type": "apm-server",
> "ephemeral_id": "4ca940a9-ea49-4f49-a5e0-9d1978584c2f",
> "version": "7.8.1",
> "version_major": 7
> },
> "trace": {
> "id": "8a740be2ad8a344ea05a3d25df18ee34"
> },
> "@timestamp": "2021-07-06T17:24:12.354Z",
> "ecs": {
> "version": "1.5.0"
> },
> "service": {
> "node": {
> "name": "f1a462fb6c3f47d3e749f995f45dd5d130a19dd0c8d24e717cb917c882faffd3"
> },
> "environment": "Production",
> "framework": {
> "name": "ASP.NET Core",
> "version": "3.1.10.0"
> },
> "name": "Lonsid_MESPro_Web_Host",
> "runtime": {
> "name": ".NET Core",
> "version": "3.1.10"
> },
> "language": {
> "name": "C#"
> },
> "version": "1.0.0"
> },
> "host": {
> "ip": "10.10.20.242"
> },
> "http": {
> "request": {
> "headers": {
> "X-Request-Id": [
> "5a1baa2ad7c4e13aa05587fc6e0d4b12"
> ],
> "X-Forwarded-Proto": [
> "https"
> ],
> "X-Forwarded-Host": [
> "api.test.com"
> ],
> "X-Forwarded-For": [
> "192.168.10.182"
> ],
> "Host": [
> "api.test.com"
> ],
> "Content-Length": [
> "54"
> ],
> "X-Forwarded-Port": [
> "443"
> ],
> "X-Real-Ip": [
> "192.168.10.182"
> ],
> "X-Scheme": [
> "https"
> ],
> "Content-Type": [
> "application/json"
> ]
> },
> "method": "post",
> "socket": {
> "encrypted": false,
> "remote_address": "::ffff:172.17.89.1"
> },
> "body": {
> "original": "{\"batchNumParent\":\"14512107021161\",\"batchNumChild\":\"\"}"
> }
> },
> "response": {
> "headers": {
> "X-Frame-Options": [
> "SAMEORIGIN"
> ],
> "Server": [
> "Kestrel"
> ],
> "X-Content-Type-Options": [
> "nosniff"
> ],
> "X-Xss-Protection": [
> "1; mode=block"
> ],
> "Content-Length": [
> "200"
> ],
> "Date": [
> "Fri, 06 Jul 2021 17:24:11 GMT"
> ],
> "Content-Type": [
> "application/json; charset=utf-8"
> ]
> },
> "status_code": 500,
> "finished": true
> },
> "version": "1.1"
> },
> "client": {
> "ip": "192.168.10.182"
> },
> "transaction": {
> "id": "9048551fa600b047",
> "type": "request",
> "sampled": true
> },
> "timestamp": {
> "us": 1625228652354118
> }
> }'
{"_index":"apm-7.8.1-error-000012","_type":"_doc","_id":"fbIze3oBGZkVhT9VzBav","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"_seq_no":226810,"_primary_term":1}[root@es-node02 elasticsearch]#