I am using both the Activity Tracker and Log Analysis services on IBM Cloud, both are based on LogDNA. In order to export logs, e.g., to search them via my scripts, it requires a service key, not the IBM Cloud IAM API key. How can I obtain that key without going through the UI and the LogDNA dashboard? Ideally this is through a REST API or integrated with the Terraform provider.
IBM Cloud: How to obtain Activity Tracker / Log Analysis service key via API or Terraform?
226 views Asked by data_henrik At
1
There are 1 answers
Related Questions in IBM-CLOUD
- Update a bearer token in a watsonx extension
- Unexpected behaviour when updating variables in Schematics using the golang SDK
- TranspilerError: 'Number of qubits (40) in QAOA is greater than maximum (30) in the coupling_map'
- What is "X-Require-Whisk-Auth" (IBM Cloud Functions) in IBM Cloud Code Engine functions?
- How to connect device to IBM cloud
- EntityStreamSizeException Due to Request Content Size Limit Exceeded
- Call watsonx.ai prompt in watson assistant
- Where do I find my credentials for using watsonx.ai
- Watsonx Assistant reconigze phone number from Twillio Integration
- IBM NeuralSeek API Filter
- Is there any option to activate/deactivate a MDB in open liberty
- Fail-over to secondary region when primary region goes down on a IBM MQ Multi-instance Queue manager using a NFS 4.1 share
- CS0246 Error while installing IBM Watson SDK for Unity
- Programmatic name pending approval - approval duration, criteria
- How can I compact a collection in my IBM Cloud Databases for MongoDB deployment?
Related Questions in TERRAFORM-PROVIDER-IBM
- Terraform: Is it possible to create multiple "helm" providers with context set to different Kubernetes clusters dynamically?
- Using Terraform import to import IAM users on IBM Cloud
- Terraform: String is not interpolated for module provider alias
- Terraform: Invalid dynamic for_each value. Cannot use a list of object value in for_each. An iterable collection is required
- Terraform variable from gitlab CI/CD variables
- IBM Cloud Activity Tracker: How to route logdna to logdna across accounts?
- IBM Cloud and Terraform: How to identify keyring in ibm_iam_authorization_policy?
- updateSubnetReservedIPOptions failed validation error upon creating a VSI in IBM Cloud with Terraform
- In terraform, how should I create a secret manager instance and then create another one without destroying first one
- How to create IBM Cloud Event Streams trigger with terraform?
- IBM Cloud: How to obtain Activity Tracker / Log Analysis service key via API or Terraform?
- IBM Cloud: "Unauthorized" error when importing key into Key Protect using Terraform
- IBM Cloud Functions: How to create secured web action using Terraform
- Terraform IBM - iam_role_crn for service instance alias
- Terraform crash error while running terraform import on IBM cloud
Related Questions in LOGDNA
- querying in mezmo ie logdna with regular expressions
- logDNA supertenant agent volume mounts
- Can we generate logDNA alerts with custom titles? I want to get the log line in the title of the alert?
- How can I ignore the first x number of characters in a string when matching with a Regex (without using a look behind)?
- Docker containers launched from another container started with Docker-Compose inherit the service name
- IBM Cloud Activity Tracker: How to route logdna to logdna across accounts?
- How to url-rewrite based on host in Next.js?
- How to group sources by pattern in a view in logdna
- Why LogDNA backlogs to Amazon S3 only part of the data?
- IBM Cloud: How to obtain Activity Tracker / Log Analysis service key via API or Terraform?
- Can we generate logDNA alerts only based on the "presence" or "absence" of specified number of lines?
- Export logs using Pagination n LogDNA
- Region issue for IBM Cloud Activity Tracker with LogDNA
- Whether Certificate Manager is required for service "IBM Cloud Activity Tracker with LogDNA"
- LogDNA and cloud foundry nodejs apps
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The service key for Activity Tracker / Log Analysis now seems to be included in the IBM Cloud resource key information. A resource key can be created and existing keys obtained via the Resource Controller API.
This retrieves an existing resource key, including the LogDNA service key:
Thus, the service key can also be created or retrieved using the IBM Cloud Terraform provider and its Resource Management functions.
The returned data for AT_rk has an attributes property with credentials. It includes service_key and ingestion_key.