Problem with custom JSON miner extractor

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with custom JSON miner extractor

L0 Member

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": ",
        "type": "ip"
        "errno": "0",
        "type": "ip",
        "ip_addr": "52a62038",
        "name": "",

 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?



Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!