Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Valid JSON, can't figure out how to jgrep #17

Open
jblaine opened this issue Dec 13, 2012 · 0 comments
Open

Valid JSON, can't figure out how to jgrep #17

jblaine opened this issue Dec 13, 2012 · 0 comments

Comments

@jblaine
Copy link

jblaine commented Dec 13, 2012

I've tried a lot, but cannot figure out how to "show the tags field for those matching state=running". If anyone has any suggestions, I would love to hear them. I could not find any other way to contact someone, so am creating an issue. FWIW, the following passes arc90's JSON linter and is the output from "puppet node_aws list --render-as json"

[
 {
    "i-09387672": {
      "id": "i-09387672",
      "tags": "{\"Name\"=>nil, \"node-type\"=>\"bastion\"}",
      "dns_name": "ec2-23-21-146-98.compute-1.amazonaws.com",
      "state": "running",
      "created_at": "Sat Aug 18 18:31:48 UTC 2012",
      "keyname": "bld_admin"
    },
    "i-c8d3d5b2": {
      "id": "i-c8d3d5b2",
      "tags": "{\"Name\"=>\"graph-inserter-1\"}",
      "dns_name": null,
      "state": "stopped",
      "created_at": "Thu Sep 20 05:36:41 UTC 2012",
      "keyname": "jlekey"
    }
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant