Hello,
I'm trying to get data in Splunk using REST API (data are in json format).
I understand I have to create my own class in responsehandler.py, but I don't know anything about python...
I tried a lot of things based on exemples but unsuccessfully...
Below a sample of my data...
{"infos":
[
{"component":
{"measures":
[
{"metric":"ncloc","periods":[{"index":1,"value":"245"}],"value":"4082"},
{"metric":"sqale_index","periods":[{"index":1,"value":"0"}],"value":"3564"},
.....
{"metric":"blocker_violations","periods":[{"index":1,"value":"0"}],"value":"0"}
]
}
}
]
}
Any help would be very appreciated !
Thanks,
David
... View more