# Kibana

**URL:** https://discuss.elastic.co/c/elastic-stack/kibana/7.md?page=248

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 249

---

## [Kibana not loading due to unsafe script](https://discuss.elastic.co/t/kibana-not-loading-due-to-unsafe-script/295025)

<div class="topic-metadata">

**Author:** [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Replies:** 0\
**Last updated:** [January 21, 2022, 7:50am UTC](https://discuss.elastic.co/t/kibana-not-loading-due-to-unsafe-script/295025 "2022-01-21T07:50:25Z")

</div>

I have upgraded my elastic / kibana stack from 7.12.1 to 7.16.2 Unfortunately and despite the fact that elasticsearch is now healthy, kibana is not loading due to a js error: login:1 Refused to execute script from 'htt…

---

## [Error: Port 5601 is already in use. Another instance of Kibana may be running!--Sometime it's working sometime not if it is not worked then i restart my pc then it's worked](https://discuss.elastic.co/t/error-port-5601-is-already-in-use-another-instance-of-kibana-may-be-running-sometime-its-working-sometime-not-if-it-is-not-worked-then-i-restart-my-pc-then-its-worked/294762)

<div class="topic-metadata">

**Author:** [@harsh19](https://discuss.elastic.co/u/harsh19)\
**Replies:** 2\
**Last updated:** [January 21, 2022, 5:26am UTC](https://discuss.elastic.co/t/error-port-5601-is-already-in-use-another-instance-of-kibana-may-be-running-sometime-its-working-sometime-not-if-it-is-not-worked-then-i-restart-my-pc-then-its-worked/294762 "2022-01-21T05:26:17Z")

</div>

I already kill port 5601 and also reinstall kibana but still not working log \[10:32:00.035\] \[info\]\[plugins-service\] Plugin "metricsEntities" is disabled. log \[10:32:00.161\] \[fatal\]\[root\] Error: Port 5601 is alread…

---

## [Index pattern \> field format \> color hex codes removed in 7.15.2?](https://discuss.elastic.co/t/index-pattern-field-format-color-hex-codes-removed-in-7-15-2/294442)

<div class="topic-metadata">

**Author:** [@Mark\_Duncan](https://discuss.elastic.co/u/Mark_Duncan)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 4:39am UTC](https://discuss.elastic.co/t/index-pattern-field-format-color-hex-codes-removed-in-7-15-2/294442 "2022-01-21T04:39:28Z")

</div>

I used to be able to set a hex code for the particular color that I wanted for a field in an index pattern, but that looks to have been replaced with a color graph and no option to set the value exactly. so now I cannot…

---

## [Convert a field from string to IP type](https://discuss.elastic.co/t/convert-a-field-from-string-to-ip-type/293253)

<div class="topic-metadata">

**Author:** [@yago82](https://discuss.elastic.co/u/yago82)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 4:14am UTC](https://discuss.elastic.co/t/convert-a-field-from-string-to-ip-type/293253 "2022-01-21T04:14:44Z")

</div>

Hi, i need to Convert a field (client\_ip) from string to IP type. I use ILM for the index. It would be possible to change the field type on the next rollover? It doesn't matter that the previous indices are compromise…

---

## [Allowing USER to generate and download PDFs and PNGs](https://discuss.elastic.co/t/allowing-user-to-generate-and-download-pdfs-and-pngs/294629)

<div class="topic-metadata">

**Author:** [@pchatterji](https://discuss.elastic.co/u/pchatterji)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 4:06am UTC](https://discuss.elastic.co/t/allowing-user-to-generate-and-download-pdfs-and-pngs/294629 "2022-01-21T04:06:37Z")

</div>

Hi, We have created a USER and assigned it USER\_ROLE (which has 'read' and 'view\_index\_metadata' privileges for a given index). This user is assigned a USER\_SPACE where the dashboard(s) the USER is able to view has been…

---

## [Dynamic mapping issue](https://discuss.elastic.co/t/dynamic-mapping-issue/294981)

<div class="topic-metadata">

**Author:** [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 12:14am UTC](https://discuss.elastic.co/t/dynamic-mapping-issue/294981 "2022-01-21T00:14:32Z")

</div>

Hi I'm having indices being sent dynamically to my project. When indices are being pushed , fields are mapped dynamically. Due to this mappings are different everytime. For example for 1 index , created date field is …

---

## [How to find the Elasticsearch URL from Kibana?](https://discuss.elastic.co/t/how-to-find-the-elasticsearch-url-from-kibana/294979)

<div class="topic-metadata">

**Author:** [@Ananya\_Chakraborty](https://discuss.elastic.co/u/Ananya_Chakraborty)\
**Replies:** 3\
**Last updated:** [January 20, 2022, 10:00pm UTC](https://discuss.elastic.co/t/how-to-find-the-elasticsearch-url-from-kibana/294979 "2022-01-20T22:00:53Z")

</div>

I have a Kibana login with admin privilege. I don't know the URL for my Elasticsearch. How can I find it from within Kibana? Is there a query that I can run in the console to find the Elasticsearch URL?

---

## [Drilldown date range bug](https://discuss.elastic.co/t/drilldown-date-range-bug/294976)

<div class="topic-metadata">

**Author:** [@Michael\_Ubry](https://discuss.elastic.co/u/Michael_Ubry)\
**Replies:** 6\
**Last updated:** [January 20, 2022, 6:57pm UTC](https://discuss.elastic.co/t/drilldown-date-range-bug/294976 "2022-01-20T18:57:05Z")

</div>

Hi, when you have stacked bar chart which is split by timestamp (lets say before 2019 and 2019-2022) and you create drilldown, the 2019-2022 part of bar redirects you to dashboard with correct timestamp. HOWEVER, when y…

---

## [Kibana.yml file missing](https://discuss.elastic.co/t/kibana-yml-file-missing/294487)

<div class="topic-metadata">

**Author:** [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Replies:** 3\
**Last updated:** [January 20, 2022, 6:44pm UTC](https://discuss.elastic.co/t/kibana-yml-file-missing/294487 "2022-01-20T18:44:42Z")

</div>

Hi all, i'm trying to install kibana in opendistro in Ubuntu systems I'm using command: sudo apt install opendistroforelasticsearch-kibana But when i run the above command, it unpacks packages , but kibana.yml is not …

---

## [Setting a custom variable in TSVB bucket script](https://discuss.elastic.co/t/setting-a-custom-variable-in-tsvb-bucket-script/294960)

<div class="topic-metadata">

**Author:** [@Andrew22](https://discuss.elastic.co/u/Andrew22)\
**Replies:** 1\
**Last updated:** [January 20, 2022, 4:57pm UTC](https://discuss.elastic.co/t/setting-a-custom-variable-in-tsvb-bucket-script/294960 "2022-01-20T16:57:25Z")

</div>

Hello, Is it possible to set a variable inside a bucket script in tsvb? i would like to compare two values and set the new variable to be the value that exists. right now I have: my code if (params.inmin != null)…

---

## [Top URLs by response code\[Filebeat Apache\] ECS](https://discuss.elastic.co/t/top-urls-by-response-code-filebeat-apache-ecs/294961)

<div class="topic-metadata">

**Author:** [@Alphonse\_Kambo](https://discuss.elastic.co/u/Alphonse_Kambo)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 2:37pm UTC](https://discuss.elastic.co/t/top-urls-by-response-code-filebeat-apache-ecs/294961 "2022-01-20T14:37:56Z")

</div>

Hello All, I want to create in Canvas a pie chart that replicates the visualization "Top URLs by response code\[Filebeat Apache\] ECS". I have for the Split chart the following ES SQL: SELECT url.original as url, cou…

---

## [Clamp function for two dynamic value doesn't work](https://discuss.elastic.co/t/clamp-function-for-two-dynamic-value-doesnt-work/294844)

<div class="topic-metadata">

**Author:** [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 2:15pm UTC](https://discuss.elastic.co/t/clamp-function-for-two-dynamic-value-doesnt-work/294844 "2022-01-20T14:15:36Z")

</div>

Hi everyone, I saw this post and tried. To get max of fieldA and fieldB, I tried Formula: clamp(max(fieldA), max(fieldB), 10000), but it does not worked and the cell remains empty. in my case, max(fieldA)=3 and max…

---

## [About Process tag under Observability](https://discuss.elastic.co/t/about-process-tag-under-observability/294956)

<div class="topic-metadata">

**Author:** [@varsharain-a11y](https://discuss.elastic.co/u/varsharain-a11y)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 1:49pm UTC](https://discuss.elastic.co/t/about-process-tag-under-observability/294956 "2022-01-20T13:49:42Z")

</div>

I am first time user of Elastic . I was trying some of the quickstarts to ingest data in elastic. I was trying to use elastic agent method for data ingesting and with system Integration agent trying to visualize process…

---

## [How to get the minimum value of a timespan TSVB](https://discuss.elastic.co/t/how-to-get-the-minimum-value-of-a-timespan-tsvb/294950)

<div class="topic-metadata">

**Author:** [@Juliana\_Sabino](https://discuss.elastic.co/u/Juliana_Sabino)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 1:34pm UTC](https://discuss.elastic.co/t/how-to-get-the-minimum-value-of-a-timespan-tsvb/294950 "2022-01-20T13:34:36Z")

</div>

Hi Team, I have a TSVB time series, I'm doing a filter ratio do divide the number x by the number y. Everything goes right here. Then, I have another TSVB metric that I'm doing the same thing, I have a filter ratio wh…

---

## [Kibana doesnt log stderr](https://discuss.elastic.co/t/kibana-doesnt-log-stderr/294949)

<div class="topic-metadata">

**Author:** [@gorbroth](https://discuss.elastic.co/u/gorbroth)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 1:19pm UTC](https://discuss.elastic.co/t/kibana-doesnt-log-stderr/294949 "2022-01-20T13:19:54Z")

</div>

Hi , We've recently changed our log dentation from the default /var/log but ever since that we are unable to get stderr logs to our kibana.log file , its only able to capture stdout (info) logs. We also tried the optio…

---

## [Abrir por iFrame](https://discuss.elastic.co/t/abrir-por-iframe/294930)

<div class="topic-metadata">

**Author:** [@leandrofakada](https://discuss.elastic.co/u/leandrofakada)\
**Replies:** 1\
**Last updated:** [January 20, 2022, 11:18am UTC](https://discuss.elastic.co/t/abrir-por-iframe/294930 "2022-01-20T11:18:46Z")

</div>

Atualizei para a última versão do Kibana e agora não consigo mais logar adicionado os dashboards por iframe. Alguém tem alguma ideia de qual opção posso ter esquecido de habilitar?

---

## [How can we convert POD CPU usage to percentage when pod has 2 containers with different cpu limits](https://discuss.elastic.co/t/how-can-we-convert-pod-cpu-usage-to-percentage-when-pod-has-2-containers-with-different-cpu-limits/294937)

<div class="topic-metadata">

**Author:** [@Soundarya\_Peddakotla](https://discuss.elastic.co/u/Soundarya_Peddakotla)\
**Replies:** 0\
**Last updated:** [January 20, 2022, 10:55am UTC](https://discuss.elastic.co/t/how-can-we-convert-pod-cpu-usage-to-percentage-when-pod-has-2-containers-with-different-cpu-limits/294937 "2022-01-20T10:55:37Z")

</div>

With single container we can convert cpu usage to percentage by using cpu limits. But how can we convert cpu usage to percentage when 2 containers with different cpu limits are there

---

## [Dropdown and Time filters stopped working](https://discuss.elastic.co/t/dropdown-and-time-filters-stopped-working/294913)

<div class="topic-metadata">

**Author:** [@lynchpin82](https://discuss.elastic.co/u/lynchpin82)\
**Replies:** 1\
**Last updated:** [January 20, 2022, 10:02am UTC](https://discuss.elastic.co/t/dropdown-and-time-filters-stopped-working/294913 "2022-01-20T10:02:59Z")

</div>

Hi, I'm using Kibana 7.3.2 and had a canvas page using time and dropdown filters. Since last week these have stopped working and I can't understand why. This includes using the demo test data available. Time filter exa…

---

## [Watcher index filed Type conversion](https://discuss.elastic.co/t/watcher-index-filed-type-conversion/294676)

<div class="topic-metadata">

**Author:** [@rrrr](https://discuss.elastic.co/u/rrrr)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 6:11am UTC](https://discuss.elastic.co/t/watcher-index-filed-type-conversion/294676 "2022-01-20T06:11:31Z")

</div>

How to convert the type of a field to another type in the watcher? For example, if the type of age is text, you want to convert it to int

---

## [Max between two fields in last X days Kibana(lens)](https://discuss.elastic.co/t/max-between-two-fields-in-last-x-days-kibana-lens/294765)

<div class="topic-metadata">

**Author:** [@dash5000](https://discuss.elastic.co/u/dash5000)\
**Replies:** 16\
**Last updated:** [January 20, 2022, 4:05am UTC](https://discuss.elastic.co/t/max-between-two-fields-in-last-x-days-kibana-lens/294765 "2022-01-20T04:05:03Z")

</div>

Hello, I am stuck at a problem, where i have to get the maximum between two fields in a document in last X days. I am using the table format with lens. For example document has: name=test description=test description …

---

## [Execute yarn kbn bootstrap error](https://discuss.elastic.co/t/execute-yarn-kbn-bootstrap-error/294537)

<div class="topic-metadata">

**Author:** [@qixian](https://discuss.elastic.co/u/qixian)\
**Replies:** 2\
**Last updated:** [January 20, 2022, 1:44am UTC](https://discuss.elastic.co/t/execute-yarn-kbn-bootstrap-error/294537 "2022-01-20T01:44:40Z")

</div>

when i execut the command error,and I have configured the npm $PATH globally,who can ihelp me.

---

## [KQL from @timestamp until 7days offset](https://discuss.elastic.co/t/kql-from-timestamp-until-7days-offset/294819)

<div class="topic-metadata">

**Author:** [@Juliana\_Sabino](https://discuss.elastic.co/u/Juliana_Sabino)\
**Replies:** 4\
**Last updated:** [January 19, 2022, 9:55pm UTC](https://discuss.elastic.co/t/kql-from-timestamp-until-7days-offset/294819 "2022-01-19T21:55:35Z")

</div>

Hi team, I need a query that takes the @timestamp from the timepicker and then add an offset of 7 days. I don't know how to do it. I tried: (@timestamp \<= "now-1d/d+7d") but it's not working as I wanted. Could someone …

---

## [Control Visualization, metricbeat field , values not showing. v7.13](https://discuss.elastic.co/t/control-visualization-metricbeat-field-values-not-showing-v7-13/294876)

<div class="topic-metadata">

**Author:** [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 9:53pm UTC](https://discuss.elastic.co/t/control-visualization-metricbeat-field-values-not-showing-v7-13/294876 "2022-01-19T21:53:57Z")

</div>

Hi, Im having problems to display values in the control visualization, the field that I need to use is created by metricbeat. in discovery I can see the values, and the field exist In index patterns there is a field…

---

## [Backend programming for kibana plugin development](https://discuss.elastic.co/t/backend-programming-for-kibana-plugin-development/294745)

<div class="topic-metadata">

**Author:** [@Ernesto\_Rodolfo\_Cast](https://discuss.elastic.co/u/Ernesto_Rodolfo_Cast)\
**Replies:** 2\
**Last updated:** [January 19, 2022, 9:49pm UTC](https://discuss.elastic.co/t/backend-programming-for-kibana-plugin-development/294745 "2022-01-19T21:49:57Z")

</div>

hello, is it possible to develop a plugin for kibana from the backend, how would this process work, what programming language can I use?

---

## [Kibana dashboard Visualisation into Angular 10 Webapp](https://discuss.elastic.co/t/kibana-dashboard-visualisation-into-angular-10-webapp/294784)

<div class="topic-metadata">

**Author:** [@Abhishek\_Gautam](https://discuss.elastic.co/u/Abhishek_Gautam)\
**Replies:** 1\
**Last updated:** [January 19, 2022, 8:13pm UTC](https://discuss.elastic.co/t/kibana-dashboard-visualisation-into-angular-10-webapp/294784 "2022-01-19T20:13:39Z")

</div>

Hi Team, Can someone suggest any way to embed kibana dashboard visulizations with our Angular 10 web App, so that from the application itself he can change the type of graph he wishes to have.

---

## [Obtain Jenkins pipelines and parameters from Kibana](https://discuss.elastic.co/t/obtain-jenkins-pipelines-and-parameters-from-kibana/294871)

<div class="topic-metadata">

**Author:** [@Brian\_Fernandez](https://discuss.elastic.co/u/Brian_Fernandez)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 7:20pm UTC](https://discuss.elastic.co/t/obtain-jenkins-pipelines-and-parameters-from-kibana/294871 "2022-01-19T19:20:40Z")

</div>

Good afternoon. How can I show in Kibana, the total list of Jenkins pipelines and the parameters that each one has configured? Thanks!

---

## [Make the Time Range on a map dynamic](https://discuss.elastic.co/t/make-the-time-range-on-a-map-dynamic/294810)

<div class="topic-metadata">

**Author:** [@Angad\_Panesar1](https://discuss.elastic.co/u/Angad_Panesar1)\
**Replies:** 1\
**Last updated:** [January 19, 2022, 6:43pm UTC](https://discuss.elastic.co/t/make-the-time-range-on-a-map-dynamic/294810 "2022-01-19T18:43:13Z")

</div>

Hi, How would you make a time range dynamic on a map in a canvas? (i.e. it automatically changes over time like 11:59am today to 12:15pm).

---

## [Dashboard POST URL too long unless re-saving](https://discuss.elastic.co/t/dashboard-post-url-too-long-unless-re-saving/294859)

<div class="topic-metadata">

**Author:** [@bm11100](https://discuss.elastic.co/u/bm11100)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 6:02pm UTC](https://discuss.elastic.co/t/dashboard-post-url-too-long-unless-re-saving/294859 "2022-01-19T18:02:46Z")

</div>

7.16.2 stack I'm running into an issue where it's saying my Dashboard POST URL is too long The odd thing is, if I edit the dashboard and re-save it, the POST URL is fine. I'm stuck on what is causing the dashboard…

---

## [Canvas - Variable in essql](https://discuss.elastic.co/t/canvas-variable-in-essql/294857)

<div class="topic-metadata">

**Author:** [@probson](https://discuss.elastic.co/u/probson)\
**Replies:** 0\
**Last updated:** [January 19, 2022, 5:03pm UTC](https://discuss.elastic.co/t/canvas-variable-in-essql/294857 "2022-01-19T17:03:57Z")

</div>

Im trying to use the canvas variables, i have managed to get it working via text/markdown, i am trying to use it within an essql statement, heres my example WHERE \\"@timestamp\\" \> TODAY() - INTERVAL 30 DAY AND organizat…

---

## [Create Different "Index Management" and "Index Pattern" For Different Firewall Devices](https://discuss.elastic.co/t/create-different-index-management-and-index-pattern-for-different-firewall-devices/294678)

<div class="topic-metadata">

**Author:** [@Xenial](https://discuss.elastic.co/u/Xenial)\
**Replies:** 1\
**Last updated:** [January 19, 2022, 5:31pm UTC](https://discuss.elastic.co/t/create-different-index-management-and-index-pattern-for-different-firewall-devices/294678 "2022-01-19T17:31:10Z")

</div>

Hello Team, I want to create Dashboarding system (SIEM) For two different firewall device (Panorama Palo Alto, Fortianalyzer Fortinet). I want to use Filebeat Modules PANW and FORTINET. How i create 2 Index Management a…

[Previous page](https://discuss.elastic.co/c/elastic-stack/kibana/7.md?page=247)

[Next page](https://discuss.elastic.co/c/elastic-stack/kibana/7.md?page=249)
