GCP Logs Advanced¶
The Google Cloud Logs Advanced connector allows you to retrieve the number of occurrence of your personal query. To create your own GCP query, go to the Logs Explorer, you can access it by typing "Logs Explorer" in the search bar and now your free to create your own query. Make sure it works by clicking on "Run query" in the top right corner, if it works, just copy your whole query, you'll need it to create your connector. To get your Google Logs Advanced connector working, simply add the Vault you created previously or create a new one. Options
- Name*: A simple label for easier identification in the SenHub interface.
- Description: For your personal reference only.
- Vault: Select the appropriate vault for this resource from the list box.
- Group: optional — assign this instance to a group to organise it within SenHub.
- Query: Paste your personal query here.
- Time period: Choose the appropriate time period from the list box. Seventeen time period can be retrieved from the last 15 seconds to the last 30 days.
\ ⚠️ Make sure to run your query at least once in the Logs Explorer to verify that everything is working well.
Example output
For the given query and time period, the connector returns the number of matching log entries in a single channel: