- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to write parsing configuration for json file?
My log contains multiple {} data structure and i want to get all json field inside extracted field in splunk . How to parse?
{ [-]
service: [ [-]
{ [-]
name: xxxxx
id: xxx
}
]
Filename: xxx
dest: xxx
created_at: xxxx
destination_port: null
source: xxx
username: zxx
}
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
props.conf with KV_MODE set to JSON should do the trick for you
Documentation on props.conf here - https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i have tried, but fields are not reflecting under interesting field
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what are the fields showing up in Interesting fields ?
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Filename: xxx
dest: xxx
created_at: xxxx
destination_port: null
source: xxx
username: zxx
above fields are not populating and time and date field which i have added those only populating
