Hi,
I am trying to add the loki datasource in grafana and I am getting the following error :-
Loki: Internal Server Error. 500. rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp 127.0.0.1:9095: connect: permission denied"
The following is my loki config file :-
auth_enabled: false
server:
http_listen_port: 3100
# grpc_listen_port: 0
ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
replication_factor: 1
final_sleep: 0s
chunk_idle_period: 5m
chunk_retain_period: 30s
max_transfer_retries: 0
schema_config:
configs:
- from: 2018-04-15
store: boltdb
object_store: filesystem
schema: v11
index:
prefix: index_
period: 168h
storage_config:
boltdb:
directory: /data/loki/index
filesystem:
directory: /data/loki/chunks
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h
chunk_store_config:
max_look_back_period: 0s
table_manager:
retention_deletes_enabled: false
retention_period: 0s
The port is open.
[root@syslog loki]# netstat -nlp | grep loki
tcp 0 0 127.0.0.1:9095 0.0.0.0:* LISTEN 2577498/loki-linux-
tcp6 0 0 :::3100 :::* LISTEN 2577498/loki-linux-
I have been stuck here for sometime now. Any help is appreciated. Thanks in advance.