I have a JSON something like
{
"kubernetes": {
"container_name": "test",
"container_hash": "test",
"host": "host1",
"docker_id": "faaf",
"pod_id": "222-44f0-8ff0-87faf2bf1f9c",
"labels": {
"job-name": "job-name-1"
}
},
"taskchain_id": "77d07cfb-484c-4b49-856c-354310ea8f66"
}
I want to have an output like:
77d07cfb-484c-4b49-856c-354310ea8f66 job-name-1
I can get
.kubernetes.labels."job-name"
To get the job-name-1 and .taskchain_id
to get the chain ID
Is there anyway to get these both in same command?