I am trying to create a prototype for a Miner that pulls IP's from a JSON formatted file. I have looked at the documentation for setting up a JSON miner (https://live.paloaltonetworks.com/t5/MineMeld-Articles/Using-MineMeld-to-extract-indicators-from-a-generic-API/ta-p/218757) and I am having little luck as the error messages in the logs are saying there is a parsing error.
File "/opt/minemeld/engine/0.9.48.post1/local/lib/python2.7/site-packages/minemeld/ft/basepoller.py", line 606, in _polling_loop ipairs = process_item(item) File "/opt/minemeld/engine/0.9.48.post1/local/lib/python2.7/site-packages/minemeld/ft/json.py", line 192, in _process_item indicator = item[self.indicator] TypeError: string indices must be integers
My Config looks like the following:
age_out: default: null interval: 257 sudden_death: true attributes: confidence: 100 share_level: green type: IPv4 extractor: preview_cell_2 indicator: ip_ranges source_name: aws.S3 url: https://s3.amazonaws.com/okta-ip-ranges/ip_ranges.json
Can anyone assist?
... View more