I request help on Grafana configuration
I have a couple of questions:-
I was trying to run Grafana behind the reverse proxy as suggested in the docs ‘https://grafana.com/docs/installation/behind_proxy/’. And I was not able to run Grafana server after completing the settings as described in the documentation. The server stops/exit automatically within seconds.
Did you get this working? If yes, do you mind sharing what was the issue, so that we can update the documentation? If no, could you share more details of what you’ve learned so far?
a. Add > HTTP_ACCEPT_ENCODING > OK. Add HTTP_X_ORIGINAL_ACCEPT_ENCODING OK
b. Select RPInboubd rule from Inbound section > Click Edit
c. Select Server Variable Section > Add new variables > Select HTTP_X_ORIGINAL_ACCEPT_ENCODING
Set value as {HTTP_ACCEPT_ENCODING}
d. Select Server Variable Section > Add new variables > Select HTTP_ACCEPT_ENCODING
Set value as ‘eee’
e. Click Apply
Goto > website folder > Open Web.config Change to
Goto IIS > URL rewrite> Add Rules > Outbound Rules> Blank rule
a. Add new rule ‘RestoreAcceptEncoding’
b. Select New PreCondition rule give name ‘NeedsRestoringAcceptEncoding’ > Regular exception , Match all
c. Click add > Condition Input - {HTTP_X_ORIGINAL_ACCEPT_ENCODING} Pattern - .+ , Click OK
Select ‘Server Variable’ from Matching scope > Give variable name ‘HTTP_ACCEPT_ENCODING’ > and pattern - ^(.*)
Go to Action section > Select action type Rewrite and Value - {HTTP_X_ORIGINAL_ACCEPT_ENCODING}
I have one more scenario like there are different Excavator users and Member users.
And when a Member user logs in he should be able to view his data only, same applies to Excavators.
For eg.
There are Member1 and Member2, When Member1 logged into the system he should
be able to view the Dashboard with his data only. I have one column in my table with
user name data (eg. member1@gmail.com). Here ‘member1@gmail.com’ is the user name of
Member1 to log into the Dashboard.
I am using SQL Server as database.
How can I get the user name(member1@gmail.com) and apply the same as a filter condition in my query.