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)
- Improve event definition disable/enable toggle when editing an event definition
- Move column definitions for data nodes table to the backend.
- Add Packetbeat default configuration file to Sidecar defaults HOT 1
- Data Node: Can't create/upload a Certificate Authority with Elasticsearch
- CSV lookup adapter can't process a CSV file
- Data Node: add more meaningful message for Remote reindexing migration
- Data Node: Use same button styles during CA creation and datanode migration
- unable to check graylog 6.0 server health per docs HOT 1
- "My Filters" query value does not update with changes made
- Data Node: Error Check the render method of `Field` appears when user tries to upload certificate
- Event Overview widet does not save a timerange setting
- Regression: Wrong UI is shown after adding notification to event definition
- Syslog decorated mapper target not present in fields drop-down menu HOT 1
- Pipeline rule simulator: fields with timezone offset are incorrectly serialized/deserialized and lose the timezone information
- Data Node: Can't create/upload a CA with Opensearch 1.3.1 HOT 3
- Graylog shows Deflector exists as an index and is not an alias although issue is fixed and opensearch health is yellow HOT 1
- Support custom Content-Type in Custom HTTP Notification
- Units related error in SearchesCleanUpJob
- Extend set of messages muted by elasticsearch_mute_deprecation_warnings
- Upgrading from 5.2 to 6.0 causes SnmpUDPInput pluging to fail (Guice/MissingConstructor and Guice/MissingImplementation) HOT 3
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.