Hi,
When i want to extract the fields from JSON (below) destination,messages, inflightMessages.
This the one of the latest event:
{
"analytics": [
{
"destination": "billing.ev...
See more...
Hi,
When i want to extract the fields from JSON (below) destination,messages, inflightMessages.
This the one of the latest event:
{
"analytics": [
{
"destination": "billing.events.prod",
"messages": 0,
"inflightMessages": 0
},
{
"destination": "billing.events.dev",
"messages": 0,
"inflightMessages": 0
},
{
"destination": "hub.values.prod",
"messages": 0,
"inflightMessages": 0
},
{
"destination": "hub.fifo-prod",
"messages": 0,
"inflightMessages": 0
}
]
}
This is the spl i am using:
index=myindex sourcetype=mysourcetype
| spath input=_raw
| table analytics{}.destination, analytics{}.messages, analytics{}.inflightMessages
Where i am getting in the intrested fields
"analytics{}.destination" for this when i move curser to see values and count associated, for each value showing count 2, when you search for one event.
Why this is happening what is the issue? This data generally mulesoftmq.