- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-31-2020 07:08 AM
I am trying to pull a JSON feed that in CURL looks like this:
[ { "dhcphost_id": "105", "dhcplease_end_time": "0", "dhcplease_id": "0", "errno": "0", "ip_addr": "52a6203e", "ip_alias": "test.test.com, "type": "ip" }, { "errno": "0", "type": "ip", "ip_addr": "52a62038", "name": "test2.test.com", } ]
Each {} is a different device that i then want to use a few fields from each device (such as ip_addr, name) within minemeld.
I am having problems creating the extractor/indicator combination though. Currently, I either have it fail to restart, or it comes back saying the list object has no items.
I used one of the existing JSON miners to modify for this miner, so the class is minemeld.ft.json.SimpleJSON
Any suggestions?
Thanks!
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!