Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
AndreasSalv
Explorer
Jump to solution

Json Network Feed

Hi

Try to create a Network Feed parsing a JSON. Unfortunately Test Feed in SmartConsole always exit with error message:

"Object name contains special characters or whitespaces. Invalid character: 'space'"

 

 

Feed URL: https://www.gstatic.com/ipranges/goog.json

JSON Query: jq -r '.prefixes[].ipv4Prefix'

also tried with JSON Query: jq -r '.prefixes[] | select(.ipv4Prefix) | .ipv4Prefix'

Using the JQ Playground jq playground both of my queries work.

What's wrong with my input in JSON Query field?

 

Thx for support

0 Kudos
1 Solution

Accepted Solutions
PhoneBoy
Admin
Admin

The JSON Query does not include jq -r, only the expression.

View solution in original post

2 Replies
PhoneBoy
Admin
Admin

The JSON Query does not include jq -r, only the expression.

the_rock
Legend
Legend

Phoneboy is right, I tested in the lab and it worked how he described it.

Andy

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events