Questions tagged [json]
128 questions
0
votes
1 answer
Google Cloud Speech-to-Text API key error
I tried to use the Google Cloud Speech-to-Text API but without any success. I have an API key error.
Here is my api call :
curl -s -H "Content-Type: application/json" \
-H "Authorization: Bearer "$(myapikey) \
…

Newty
- 1
0
votes
0 answers
automatically retrieve some fields from log file
My fortigate firewall send log message to my syslog server (CentOS 7). The syslog server store them to *.log file with rsyslog. Like this:
Sep 24 00:00:00 192.168.20.20 date=2020-09-24 time=01:00:00 devname="FGT-G1" devid="FGTXXXX"…
0
votes
1 answer
How can I set up syslog-ng to send only invalid JSON logs to a destination
I've set up syslog-ng 3.25.1 to read log messages from a file, parse them as JSON, and forward them to an ElasticSearch cluster.
This works well when the messages are formatted correctly as JSON, but in cases when json-parser fails to find a valid…

Ben Burns
- 111
- 4
0
votes
1 answer
How can i Parametrize Azure Json file?
Please see that we have configured Dashboard in our other Azure subscription from where we have downloaded its template.
Now we want to make it IaC (Infrastructure as Code) in our new Azure subscription.
We also need to parametrize the ARM templates…

Malik Adeel Imtiaz
- 11
- 2
0
votes
0 answers
NGINX not loading JSON marked up file
Somehow my NGINX isn't loading my JSON marked up files (.TXT & .JSON types). This is my NGINX.CONF.default
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker_connections …

rwzdoorn
- 101
- 1
0
votes
1 answer
How can I create regular expression?
I need help with regular expressions.
I have some queues in the rabbitMQ, about 1000:
ha-collector-data-test2
ha-collector-data-1434
ha-collector-data-45-test3
ha-collector-data-terty4
ha-collector-data-341
etc.
And I need to filter these queues.…

perrfect
- 65
- 1
- 7
-1
votes
1 answer
fetch between brackets on json with grep
i have the following json data
"url": "https://www.etsy.com/listing/812858182/59ft-x-84ft-moroccan-rug-mrirt-rug-beni?utm_source=etsymeter&utm_medium=api&utm_campaign=api",
"num_favorers": 26,
"views": 69,
"sku": [
"Atlas115"
],
…

newbiline
- 1
- 1
-1
votes
1 answer
Azure policy definitions as code: avoiding duplicate parameter definitions
I'm looking to create a number of Azure policies using infrastructure as code.
The MS Documentation advises a structure as below:
.
|
|- policies/ ________________________ # Root folder for policy resources
| |- policy1/ ______________________ #…

JohnLBevan
- 1,214
- 7
- 22
- 46