Find Bookmark or Transaction ID in Transaction Log
amps_journal_search
The AMPS journal search utility is used to locate entries in an AMPS journal file. The amps_journal_search
utility is most commonly used as a tool to debug issues with applications that use AMPS, particularly in cases where it is unclear at what point in time a given message was received by AMPS. The amps_journal_search
tool can be used to find the precise journal file that contains a given message.
Command Line Options
The amps_journal_search
program includes the following options. The options available can be printed to the screen by typing amps_journal_search --help
.
Option | Description |
---|---|
| Filename of the AMPS journal file. |
-h, --help | Show the program help message and quit. |
<search-pattern> | The bookmark or transaction id to locate. When a |
-d <search-string>, --data <search-string> | Locate messages that contain the data in If |
-topic=TOPIC_NAME | Search metadata for the provided topic term. |
--no-data | Do not provide message data in the output. |
--client=CLIENT_HASH | Search client hash(es) metadata for all matching records. This argument may be provided multiple times to search for multiple clients. |