Can you help me to push the json data to ELK?

Continuing the discussion from Push json key value with ELK:

File name: data.json

In below json, these are the content,
can you help me to push the data to ELK ?
{
"_source": {
"model": "commit",
"tool": "bitbucket",
"@timestamp": "2022-05-30T15:49:15.988+0530",
"data": {
"filesAdded": null,
"authorEmail": "otmramkumar@gmail.com",
"codeLinesRemoved": null,
"filesUpdate": null,
"codeLinesAdded": null,
"project": "dol",
"source": null,
"commitId": "5bb6c87ecfc831010acb5b7ddb7706492a3e9f45",
"authorId": "Ramkumar",
"filesRemoved": null,
"branch": "new_Dome",
"commitDate": 1653905939000,
"scmUrl": "dtop",
"application": "dtop",
"commitMsg": "Dome UI Change\nTools\nMy Request",
"codeLinesUpdated": null,
"commitContextList": [
{
"path": null,
"srcSpan": 12,
"srcLine": 69,
"destLine": 69,
"destSpan": 16
},
{
"path": null,
"srcSpan": 11,
"srcLine": 68,
"destLine": 68,
"destSpan": 15
},
{
"path": null,
"srcSpan": 11,
"srcLine": 21,
"destLine": 21,
"destSpan": 14
},
{
"path": null,
"srcSpan": 11,
"srcLine": 236,
"destLine": 236,
"destSpan": 15
},
{
"path": null,
"srcSpan": 11,
"srcLine": 353,
"destLine": 353,
"destSpan": 81
},
{
"path": null,
"srcSpan": 21,
"srcLine": 283,
"destLine": 283,
"destSpan": 25
},
{
"path": null,
"srcSpan": 21,
"srcLine": 7,
"destLine": 7,
"destSpan": 21
},
{
"path": null,
"srcSpan": 99,
"srcLine": 1,
"destLine": 1,
"destSpan": 99
},
{
"path": null,
"srcSpan": 21,
"srcLine": 106,
"destLine": 106,
"destSpan": 21
},
{
"path": null,
"srcSpan": 228,
"srcLine": 129,
"destLine": 129,
"destSpan": 276
},
{
"path": null,
"srcSpan": 111,
"srcLine": 840,
"destLine": 888,
"destSpan": 113
},
{
"path": null,
"srcSpan": 11,
"srcLine": 952,
"destLine": 1002,
"destSpan": 602
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 101
},
{
"path": null,
"srcSpan": 20,
"srcLine": 1,
"destLine": 1,
"destSpan": 21
},
{
"path": null,
"srcSpan": 46,
"srcLine": 101,
"destLine": 102,
"destSpan": 55
},
{
"path": null,
"srcSpan": 74,
"srcLine": 161,
"destLine": 171,
"destSpan": 78
},
{
"path": null,
"srcSpan": 29,
"srcLine": 240,
"destLine": 254,
"destSpan": 29
},
{
"path": null,
"srcSpan": 26,
"srcLine": 300,
"destLine": 314,
"destSpan": 30
},
{
"path": null,
"srcSpan": 41,
"srcLine": 624,
"destLine": 642,
"destSpan": 41
},
{
"path": null,
"srcSpan": 68,
"srcLine": 675,
"destLine": 693,
"destSpan": 243
},
{
"path": null,
"srcSpan": 21,
"srcLine": 1645,
"destLine": 1838,
"destSpan": 21
},
{
"path": null,
"srcSpan": 36,
"srcLine": 1696,
"destLine": 1889,
"destSpan": 54
},
{
"path": null,
"srcSpan": 48,
"srcLine": 1774,
"destLine": 1985,
"destSpan": 51
},
{
"path": null,
"srcSpan": 37,
"srcLine": 1976,
"destLine": 2190,
"destSpan": 43
},
{
"path": null,
"srcSpan": 20,
"srcLine": 2100,
"destLine": 2320,
"destSpan": 26
},
{
"path": null,
"srcSpan": 134,
"srcLine": 2185,
"destLine": 2411,
"destSpan": 735
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 6
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 60
},
{
"path": null,
"srcSpan": 177,
"srcLine": 1,
"destLine": 1,
"destSpan": 10
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 43
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 6
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 24
},
{
"path": null,
"srcSpan": 246,
"srcLine": 1,
"destLine": 1,
"destSpan": 10
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 36
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 35
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 39
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 3
},
{
"path": null,
"srcSpan": 3,
"srcLine": 1,
"destLine": 1,
"destSpan": 3
},
{
"path": null,
"srcSpan": 23,
"srcLine": 11,
"destLine": 11,
"destSpan": 71
},
{
"path": null,
"srcSpan": 98,
"srcLine": 72,
"destLine": 120,
"destSpan": 132
},
{
"path": null,
"srcSpan": 20,
"srcLine": 240,
"destLine": 322,
"destSpan": 49
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 3749
},
{
"path": null,
"srcSpan": 10,
"srcLine": 1,
"destLine": 1,
"destSpan": 11
},
{
"path": null,
"srcSpan": 0,
"srcLine": 0,
"destLine": 1,
"destSpan": 4230
}
]
}
},
"fields": {
"@timestamp": [
"2022-05-30T10:19:15.988Z"
]
},
"highlight": {
"model": [
"@kibana-highlighted-field@commit@/kibana-highlighted-field@"
]
}
}

Please format your code/logs/config using the </> button, or markdown style back ticks. It helps to make things easy to read which helps us help you :slight_smile:

Please also show us what you have tried and explain why that hasn't worked for you.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.