Last active
September 19, 2016 18:07
-
-
Save koolhead17/8e2c9bdbccff08532bf6fb7dcdfd3c82 to your computer and use it in GitHub Desktop.
Snippet for Elasticsearch Index content
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ curl -XGET '127.0.0.1:9200/bucketevents/_search?pretty=1' | |
| { | |
| "took" : 3, | |
| "timed_out" : false, | |
| "_shards" : { | |
| "total" : 5, | |
| "successful" : 5, | |
| "failed" : 0 | |
| }, | |
| "hits" : { | |
| "total" : 1, | |
| "max_score" : 1.0, | |
| "hits" : [ { | |
| "_index" : "bucketevents", | |
| "_type" : "event", | |
| "_id" : "AVcRVOlwe-uNB1tfj6bx", | |
| "_score" : 1.0, | |
| "_source" : { | |
| "Records" : [ { | |
| "eventVersion" : "2.0", | |
| "eventSource" : "aws:s3", | |
| "awsRegion" : "us-east-1", | |
| "eventTime" : "2016-09-09T23:42:39.977Z", | |
| "eventName" : "s3:ObjectCreated:Put", | |
| "userIdentity" : { | |
| "principalId" : "minio" | |
| }, | |
| "requestParameters" : { | |
| "sourceIPAddress" : "10.1.10.150:52140" | |
| }, | |
| "responseElements" : { }, | |
| "s3" : { | |
| "s3SchemaVersion" : "1.0", | |
| "configurationId" : "Config", | |
| "bucket" : { | |
| "name" : "images", | |
| "ownerIdentity" : { | |
| "principalId" : "minio" | |
| }, | |
| "arn" : "arn:aws:s3:::images" | |
| }, | |
| "object" : { | |
| "key" : "myphoto.jpg", | |
| "size" : 200436, | |
| "sequencer" : "1472CC35E6971AF3" | |
| } | |
| } | |
| } ] | |
| } | |
| } ] | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment