TYK_PMP_
. The environment variables will take precedence over the values in the configuration file.
int
int64
0
, all the
analytics records in Redis are pulled. If it’s set, storage_expiration_time
is used to
reset the analytics record TTL.
int64
purge_chunk
is
enabled. Defaults to 60
seconds.
bool
false
will create a pump that pushes uptime data to Uptime Pump, so the
Dashboard can read it. Disable by setting to true
.
log_level
field into the uptime_pump_config
to debug
,
info
or warning
. By default, the SQL logger verbosity is silent
.
string
TYK_PMP_PUMPS_SQL_META
string
bool
bool
bool
string
string
int
bool
string
Strong
. The valid values are: strong, monotonic, eventual.
string
bool
string
int
int
int
bool
string
sqlite
and postgres
.
string
PostgresConfig
bool
MysqlConfig
uint
256
.
bool
bool
bool
change
when rename column, rename column not supported before MySQL 8, MariaDB.
bool
bool
false
. If false
, all the records are going to be
stored in tyk_aggregated
table. Instead, if it’s true
, all the records of the day are
going to be stored in tyk_aggregated_YYYYMMDD
table, where YYYYMMDD
is going to change
depending on the date.
string
info
,error
and warning
. By
default, the value is silent
, which means that it won’t log any SQL query.
int
string
mongo
and sql
. Defaults to mongo
.
TYK_PMP_PUMPS_{PUMP-NAME}_
, for example TYK_PMP_PUMPS_KAFKA_
.
You can also set custom names for each pump specifying the pump type. For example, if you
want a Kafka pump which is called PROD
you need to create TYK_PMP_PUMPS_PROD_TYPE=kafka
and configure it using the TYK_PMP_PUMPS_PROD_
prefix.
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_CSV_META
string
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_DOGSTATSD_META
string
string
float64
1
which equates to 100%
of requests. To sample at 50%
, set to 0.5
.
bool
int
async_uds: true
.
bool
int
buffered: true
. Default 16.
[]string
path
method
response_code
api_version
api_name
api_id
org_id
tracked
oauth_id
path
tag.
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_ELASTICSEARCH_META
string
string
bool
false
.
string
bool
false
.
bool
true
will include the following additional fields: Raw Request, Raw Response and
User Agent.
bool
bool
string
bool
int
int
int
int
string
string
string
string
bool
bool
string
string
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_GRAYLOG_META
string
int
[]string
path
method
response_code
api_version
api_name
api_id
org_id
tracked
oauth_id
raw_request
raw_response
request_time
ip_address
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_HYBRID_META
string
string
string
[]string
aggregated
is set to true
.
int
10
seconds.
int
5
.
int
aggregated
is set to true
.
bool
bool
aggregated
is set to true
. By default, false
which means that only store aggregated data for tracked endpoints
.
bool
aggregated
is set to true
.
bool
bool
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_INFLUX_META
string
string
string
string
[]string
["method", "path", "response_code", "api_key", "time_stamp", "api_version", "api_name", "api_id", "org_id", "oauth_id", "raw_request", "request_time", "raw_response", "ip_address"]
.
[]string
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_KAFKA_META
[]string
string
string
interface{}
bool
false
.
map[string]string
bool
bool
string
string
string
string
string
string
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_KINESIS_META
string
string
int
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_LOGZIO_META
bool
true
.
int
98
(percentage of disk).
string
3s
.
string
string
string
https://listener.logz.io:8071
.
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_MOESIF_META
string
[]string
[]string
[]string
[]string
bool
false
.
bool
false
.
string
string
bool
true
to enable bulk_config
.
map[string]interface{}
"event_queue_size"
- (optional) An optional field name which specify the maximum
number of events to hold in queue before sending to Moesif. In case of network issues when
not able to connect/send event to Moesif, skips adding new events to the queue to prevent
memory overflow. Type: int. Default value is 10000
."batch_size"
- (optional) An optional field name which specify the maximum batch size
when sending to Moesif. Type: int. Default value is 200
."timer_wake_up_seconds"
- (optional) An optional field which specifies a time (every n
seconds) how often background thread runs to send events to moesif. Type: int. Default value
is 2
seconds.string
authorization
.
string
sub
.
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_MONGO_META
for Mongo Pump
TYK_PMP_PUMPS_UPTIME_META
for Uptime Pump
TYK_PMP_PUMPS_MONGOAGGREGATE_META
for Mongo Aggregate Pump
TYK_PMP_PUMPS_MONGOSELECTIVE_META
for Mongo Selective Pump
TYK_PMP_PUMPS_MONGOGRAPH_META
for Mongo Graph Pump.
string
bool
bool
bool
string
string
int
bool
string
Strong
. The valid values are: strong, monotonic, eventual.
string
bool
string
int
int
int
bool
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_MONGO_META
for Mongo Pump
TYK_PMP_PUMPS_UPTIME_META
for Uptime Pump
TYK_PMP_PUMPS_MONGOAGGREGATE_META
for Mongo Aggregate Pump
TYK_PMP_PUMPS_MONGOSELECTIVE_META
for Mongo Selective Pump
TYK_PMP_PUMPS_MONGOGRAPH_META
for Mongo Graph Pump.
string
bool
bool
bool
string
string
int
bool
string
Strong
. The valid values are: strong, monotonic, eventual.
string
bool
bool
true
your pump will store analytics to both your organization defined
collections z_tyk_analyticz_aggregate_{ORG ID}
and your org-less tyk_analytics_aggregates
collection. When set to ‘false’ your pump will only store analytics to your org defined
collection.
bool
false
which means that only store aggregated data for tracked endpoints
.
[]string
int
bool
int
bool
[]string
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_MONGO_META
for Mongo Pump
TYK_PMP_PUMPS_UPTIME_META
for Uptime Pump
TYK_PMP_PUMPS_MONGOAGGREGATE_META
for Mongo Aggregate Pump
TYK_PMP_PUMPS_MONGOSELECTIVE_META
for Mongo Selective Pump
TYK_PMP_PUMPS_MONGOGRAPH_META
for Mongo Graph Pump.
string
bool
bool
bool
string
string
int
bool
string
Strong
. The valid values are: strong, monotonic, eventual.
string
bool
int
int
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_PROMETHEUS_META
string
localhost:9090
.
string
/metrics
.
bool
[]string
bool
false
which means that all APIs endpoints will be counted as ‘unknown’ unless the API uses the track endpoint plugin.
CustomMetrics
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_SPLUNK_META
string
string
https://splunk:8088/services/collector/event
.
bool
string
string
string
bool
false
.
int
obfuscate_api_keys
should be set to true
. Default value is 0
.
[]string
["method", "path", "response_code", "api_key", "time_stamp", "api_version", "api_name", "api_id", "org_id", "oauth_id", "raw_request", "request_time", "raw_response", "ip_address"]
.
[]string
[]
.
bool
true
, pump is going to send the analytics records in batch to Splunk.
Default value is false
.
uint64
0
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_SQL_META
string
sqlite
and postgres
.
string
bool
uint
256
.
bool
bool
bool
change
when rename column, rename column not supported before MySQL 8, MariaDB.
bool
bool
false
. If false
, all the records are going to be
stored in tyk_aggregated
table. Instead, if it’s true
, all the records of the day are
going to be stored in tyk_aggregated_YYYYMMDD
table, where YYYYMMDD
is going to change
depending on the date.
string
info
,error
and warning
. By
default, the value is silent
, which means that it won’t log any SQL query.
int
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_SQLAGGREGATE_META
string
sqlite
and postgres
.
string
PostgresConfig
bool
MysqlConfig
uint
256
.
bool
bool
bool
change
when rename column, rename column not supported before MySQL 8, MariaDB.
bool
bool
false
. If false
, all the records are going to be
stored in tyk_aggregated
table. Instead, if it’s true
, all the records of the day are
going to be stored in tyk_aggregated_YYYYMMDD
table, where YYYYMMDD
is going to change
depending on the date.
string
info
,error
and warning
. By
default, the value is silent
, which means that it won’t log any SQL query.
int
bool
false
which means that only store aggregated data for tracked endpoints
.
[]string
bool
bool
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_STATSD_META
string
[]string
[]string
bool
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_STDOUT_META
string
text
if json
is not explicitly specified. When
JSON logging is used all pump logs to stdout will be JSON.
string
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_SYSLOG_META
string
udp, tcp, tls
in string form.
string
"localhost:5140"
.
int
string
string
type
instead.
string
mongo
, mongo-pump-selective
, mongo-pump-aggregate
, csv
,
elasticsearch
, influx
, influx2
, moesif
, statsd
, segment
, graylog
, splunk
, hybrid
, prometheus
,
logzio
, dogstatsd
, kafka
, syslog
, sql
, sql_aggregate
, stdout
, timestream
, mongo-graph
,
sql-graph
, sql-graph-aggregate
, resurfaceio
.
[]string
[]string
[]int
[]string
[]string
[]int
int
timeout
.
If you have deployed multiple pumps, then you can configure each timeout independently. The timeout is in seconds and defaults to 0.
The timeout is configured within the main pump config as shown here; note that this example would configure a 5 second timeout:
purge_delay
) as this will mean that data is purged before being written to the target data sink.
If there is no timeout configured and pump’s write operation is taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try to set a timeout for this pump.
If there is a timeout configured, but pump’s write operation is still taking longer than the purging loop, the following warning log will be generated:
Pump {pump_name} is taking more time than the value configured of purge_delay. You should try lowering the timeout configured for this pump.
.
bool
false
.
int
[]string
["api_key", "api_version"]
.
string
TYK_PMP_PUMPS_TIMESTREAM_META
string
string
string
[]string
[]string
bool
RateLimit
measures. Default value is false
.
bool
false
.
bool
false
.
map[string]string
string
redis
option is supported.
string
string
int
map[string]string
[]string
string
string
string
string
int
int
int
int
bool
false
.
string
string
bool
bool
true
to tell Pump to ignore database’s cert validation.
string
string
string
string
string
bool
bool
true
to tell Pump to ignore database’s cert validation.
Deprecated: use SSLInsecureSkipVerify instead.
string
string
string
info
,debug
,error
and
warn
. By default, the log level is info
.
string
text
and json
. By default, the log
format is text
.
/health
endpoint to confirm the Pump is running. You
need to configure the following settings. This returns a HTTP 200 OK response if the Pump is
running.
string
int
bool
int
bool
bool
bool
bool