Skip to content

Instantly share code, notes, and snippets.

@sajhak
Last active February 23, 2016 12:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sajhak/4ca598f7bd7a92f6855e to your computer and use it in GitHub Desktop.
Save sajhak/4ca598f7bd7a92f6855e to your computer and use it in GitHub Desktop.
elk_logs
sajith@sajith:~$ curl '172.17.0.2:9200/carbon/logs/_search?q=*'
{"took":3,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":57,"max_score":1.0,"hits":[{"_index":"carbon","_type":"logs","_id":"AVMOK4E-gAhTurf6j4EJ","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:46:21,861] WARN {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter} - Swap Memory size (MB): 0 of the system is below the recommended minimum size :2047 {org.wso2.carbon.core.bootup.validator.util.ValidationResultPrinter}\n"}},{"_index":"carbon","_type":"logs","_id":"AVMOK4JXgAhTurf6j4EN","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:46:28,575] INFO {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService} - Configured Registry in 441ms {org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService}\n"}},{"_index":"carbon","_type":"logs","_id":"AVMOK4MkgAhTurf6j4EQ","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:46:42,129] INFO {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent} - Carbon UserStoreMgtDSComponent activated successfully. {org.wso2.carbon.user.core.internal.UserStoreMgtDSComponent}\n"}},{"_index":"carbon","_type":"logs","_id":"AVMOK4RdgAhTurf6j4EV","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:46:57,200] INFO {org.apache.axis2.deployment.ModuleDeployer} - Deploying module: addressing-1.6.1-wso2v14 - file:/mnt/10.244.92.6/wso2as-5.3.0/repository/deployment/client/modules/addressing-1.6.1-wso2v14.mar {org.apache.axis2.deployment.ModuleDeployer}\n"}},{"_index":"carbon","_type":"logs","_id":"AVMOK4SbgAhTurf6j4EW","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:46:57,205] INFO {org.apache.axis2.deployment.ModuleDeployer} - Deploying module: rampart-1.6.1-wso2v16 - file:/mnt/10.244.92.6/wso2as-5.3.0/repository/deployment/client/modules/rampart-1.6.1-wso2v16.mar {org.apache.axis2.deployment.ModuleDeployer}\n"}},{"_index":"carbon","_type":"logs","_id":"AVMOK4VogAhTurf6j4EZ","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:47:03,160] INFO {org.wso2.carbon.core.init.CarbonServerManager} - Repository : /mnt/10.244.92.6/wso2as-5.3.0/repository/deployment/server/ {org.wso2.carbon.core.init.CarbonServerManager}\n"}},{"_index":"carbon","_type":"logs","_id":"AVMOK4W8gAhTurf6j4Ea","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:47:03,268] INFO {org.apache.stratos.common.internal.ComponentStartUpSynchronizerImpl} - Component startup synchronizer enabled: false {org.apache.stratos.common.internal.ComponentStartUpSynchronizerImpl}\n"}},{"_index":"carbon","_type":"logs","_id":"AVMOK4Y4gAhTurf6j4Ec","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:47:03,269] INFO {org.apache.stratos.common.internal.ComponentStartUpSynchronizerImpl} - Component activation timeout: 600 seconds. {org.apache.stratos.common.internal.ComponentStartUpSynchronizerImpl}\n"}},{"_index":"carbon","_type":"logs","_id":"AVMOK4aFgAhTurf6j4Ed","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:47:03,288] INFO {org.apache.stratos.common.internal.CommonServiceComponent} - Stratos common service component is activated {org.apache.stratos.common.internal.CommonServiceComponent}\n"}},{"_index":"carbon","_type":"logs","_id":"AVMOK4gOgAhTurf6j4Ei","_score":1.0,"_source":{"@logstream": "['wso2as-530-application', 'wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5']", "application_id": "wso2as-530-application", "tenant_id": "0", "cartridge_alias": "wso2as-530", "cluster_id": "wso2as-530-application.wso2as-530.wso2as-530.domain", "@timestamp": "2016-02-23T12:47:23.455255", "member_id": "wso2as-530-application.wso2as-530.wso2as-530.domainf40ed568-321a-41ce-86b2-1ccc8c98a9e5", "message": "TID: [-1234] [] [2016-02-23 12:47:04,750] INFO {org.wso2.carbon.core.transports.http.HttpsTransportListener} - HTTPS port : 9443 {org.wso2.carbon.core.transports.http.HttpsTransportListener}\n"}}]}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment