Comments (3)
Hi there, @TimmiORG. Maybe the intended purpose of the API Key and Secret fields isn't quite clear. The API Key
field is intended to be the name of the query parameter or header that the API on the other end is expecting your key to be in while the API Secret
field is your actual API key. To take an example from the AbuseIPdb API you've linked:
curl -G https://api.abuseipdb.com/api/v2/check \
--data-urlencode "ipAddress=118.25.6.39" \
-d maxAgeInDays=90 \
-d verbose \
-H "Key: YOUR_OWN_API_KEY" \
-H "Accept: application/json"
In this case, your notification API Key
field should be set to Key
and API Secret
would be set to YOUR_OWN_API_KEY
. Here is that example shown with a test notification in my Graylog setup with the API Key and Secret sent as a header and as a query param.
If we were to remove the requirement that they both be provided together, your header/query param would be empty Key:
or Key=
which I do not think would be useful and I don't think I see any use cases in the documentation you've provided. If it was necessary though, you could simply add the header manually to the Headers
field as seen here.
Let me know if that makes sense or if I'm missing a valid use case for the empty value in the documentation you've referenced!
from graylog2-server.
Hi @kingzacko1 ,
thank you very much for the good explanation. This clarifies it very well.
So I guess we can close this ticket than.
from graylog2-server.
@TimmiORG you're welcome! I will go ahead and close this one out. Let us know if you run into any other issues and I'll be happy to take a look!
from graylog2-server.
Related Issues (20)
- Indexer failures should produce more information for root cause analysis HOT 3
- OIDC should use eppn instead of login name for OIDC
- Extractor type list pops "into" its element container
- Copy functionality (Copy message, copy id, copy token, copy scratchpad) does not work over http but does work over https HOT 2
- return of api support Dashboards/Widgets HOT 1
- UDP buffer size problems (FreeBSD, maybe generally when OS != Linux) HOT 5
- System Notification Events showing as disabled after adding a notification
- [bug]Data node migration failed with custom CA name HOT 1
- Add system notification if data node version and Graylog version don't match
- Default to use system jks on debian/ubuntu/redhat HOT 1
- QR is not shown when enrolling an MFA in cloud
- Kafka Inputs still default to legacy mode being enabled/checked, remove this?
- Configure <index set> field types page does not load HOT 4
- Default dark mode text color purple hard to read in parsing rule editor HOT 5
- Negative numbers for gl2_processing_duration_ms HOT 10
- Ability to hide "change field type" if user does not have permission to use it (see screnshot) HOT 1
- issue: graylog write log or use field-type-profiles change file type compatible with String(aggregatable) and String(full-text searchable) HOT 1
- Datanode: During preflight, datanode might provision with user interaction
- Windows Sidecar does not restart when config updated
- Poor performance of api calls when large pipeline w/ many when OR statements HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graylog2-server.