Getting Data In

TA_Guardium API Add-on for Splunk

0xAli
Path Finder

Hi All,
I hope all is well.

Kindly, anyone works with Guardium API Add-on for Splunk:

https://splunkbase.splunk.com/app/8290

I have two questions:

1. The auth-token will be expire just in 3 hours, is this addon will refresh it

I used this command to generate the token:

grdapi register_oauth_client client_id=splunk_client2 grant_types="password" user="admin" password="<PASSWORD>" GetToken=1

Output:

{"client_id":"splunk_client2","client_secret":"440cef5c-42a8-4fd5-9741-17266cxxxxx","grant_types":"password","scope":"read,write","redirect_uri":"https://someApp"}
{"access_token":"token","token_type":"bearer","expires_in":10799,"scope":"read write"}


2. This command doesn't work properly as expected?

url -k -X POST https://<guardium_host>:8443/restAPI/online_report \
  -H "Authorization: Bearer <token>" \
  -H "Content-Type: application/json" \
  -d '{"reportName":"SQL Activity","indexFrom":"1","fetchSize":30000}'

 

Labels (3)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Event Series: Telemetry Pipeline Management

Balancing Scale and Spend: Gaining Control Over High-Volume Metrics in Splunk Observability Cloud As ...

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...