- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Receiving an error while using the mvexpand command (does not exist in the data)
super_saiyan
Communicator
11-21-2022
10:09 PM
Hi everyone,
currently, i am trying to expand one of the multiple field values but i am getting the result with the below error.
Field 'deployment' does not exist in the data.
index=json
|rex mode=sed "s/.*-\s//g"
|spath
|rename ops{}.steps{}.steps{}.address{}.deployment as deployment
|mvexpand deployment
|mvexpand operation
|table deployment
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
11-25-2022
04:14 AM
Put the field name in double quotes (usually it is single quotes for field names but rename seems to operate differently)
|rename "ops{}.steps{}.steps{}.address{}.deployment" as deployment
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
super_saiyan
Communicator
11-25-2022
01:45 AM
anyone ?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ITWhisperer

SplunkTrust
11-25-2022
01:49 AM
If you don't have the deployment field, what fields do you have?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
super_saiyan
Communicator
11-25-2022
02:19 AM
Hi, I have shared the logs with you in DM
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

kamlesh_vaghela

SplunkTrust
11-21-2022
10:22 PM
Can you please share some sample events?
Meanwhile, you can try this rename as well.
| rename "ops.steps.steps.address.deployment" as deployment
KV
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
super_saiyan
Communicator
11-21-2022
10:53 PM
Thanks much @kamlesh_vaghela
I have shared the logs in DM, please check
