HEX
Server: Apache
System: Linux srv1.prosuiteplus.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: prosuiteplus (1001)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/examples/logs/get-log-events.rst
The following command retrieves log events from a log stream named ``20150601`` in the log group ``my-logs``::

  aws logs get-log-events --log-group-name my-logs --log-stream-name 20150601

Output::

  {
      "nextForwardToken": "f/31961209122447488583055879464742346735121166569214640130",
      "events": [
          {
              "ingestionTime": 1433190494190,
              "timestamp": 1433190184356,
              "message": "Example Event 1"
          },
          {
              "ingestionTime": 1433190516679,
              "timestamp": 1433190184356,
              "message": "Example Event 1"
          },
          {
              "ingestionTime": 1433190494190,
              "timestamp": 1433190184358,
              "message": "Example Event 2"
          }
      ],
      "nextBackwardToken": "b/31961209122358285602261756944988674324553373268216709120"
  }