How to set up looging level in Kibana - elasticsearch

Could you tell me how to set up explicitly logging level in Kibana as INFO?
I have found this but do not know how to use it:
logging.silent
logging.quiet
logging.verbose
logging.events

As shown in Kibana's official documentation, by editing your kibana.yml or kibana.yaml:
logging.quiet: true
This is for the quiet logging, same goes to the other options except logging.events.

Related

Disable security on elastic and kibana

Hello i'am new with elastic search.
I followed this documentation in order to enable security, i set a password with only number and that is the main problem.
https://www.elastic.co/guide/en/elasticsearch/reference/7.12/security-minimal-setup.html
I found the problem when I wanted to login in kibana .(the image bellow).
enter image description here
Now i want to disable the security so i can work normally, or if there is some method which allow me change the password.
I think you enabled the basic security using below config in your elasticsearch.yml
xpack.security.enabled: true
If you don't want that, you can simply disable it by changing it to false and restart your Elasticsearch nodes.
well I disabled xpack.security but the problem persist, so I go to the list of the settings in the keystore and then I removed elastic.password , so it's not required to login.

Fields missing on an Index of Elasticsearch from one moment to another

A strange situation happened with the elasticsearch i use to log things.
I'm using Nlog with a target elasticsearch that conforms with ECS (elastic common schema)
https://github.com/elastic/ecs-dotnet/tree/master/src/Elastic.CommonSchema.NLog
By some reason since today, some fields went missing, one of them is the very important field message.
Looking the logs of the stream of kibana inside the Observability menu i see the following:
We can see here that the message field simple disappeared. Can something provoke this? If yes, what steps can i do to fix it?
I did something wrong on the logs,
In the advanced options, for the template, i added an include field.
This was only letting that specific field being logged.

sentry onpremise how to set domain name?

We have been using old sentry (like 6.*)
We are trying to use the latest onpremise sentry with docker
We don't care about old data, starting fresh is fine.
When I go to the setting page for client-dsn, it has our server's domain name set.
Where did the docker pick this up? and how can I change it?
As far as I have seen th FQDN is taken automatically by Sentry. When doing the first login you are able to set the Root name and there you can change it.
Edit-21.07.2020: As I currently need to do some digging i came across the function:
sentry config set system.url-prefix
or you can set it inside these files:
/etc/sentry/sentry.conf.py
/etc/sentry/config.yml
The below command is deprecated now,
sentry config set system.url-prefix
The better option to edit vim ~/.sentry/config.yml.
Add the below line at the end of vim ~/.sentry/config.yml & restart the sentry.
system.url-prefix: 'https://sentry.example.com'

How do I set the dynamic properties on PublishKafka_2_0 processor in Apache NiFi

I am using the PublishKafka_2_0 processor and need to disable SSL endpoint identification algorithm while connecting to Kafka. From the docs I can do this by setting the following producer property to an empty string:
ssl.endpoint.identification.algorithm=
The documentation of PublishKafka_2_0 mentions that this can be set using dynamic properties. Can someone show how to set this property? A screenshot or link to an example would be great.
I am using NiFi 1.9.1 and Apache Kafka 2.1.1
Thank you
While I strongly discourage disabling endpoint verification, to accomplish this, click the + icon on the top right of the processor properties tab, enter the value ssl.endpoint.identification.algorithm for the dynamic property name, and check the "Empty string" box for the value of the property.
I only took a quick look, but I do not see that property defined in the ProducerConfig class in the org.apache.kafka:kafka-clients-2.0.0.jar dependency. If the predefined string is not present, you may get a validation error in NiFi of "Must be a known configuration parameter for this kafka client".

Disable initial search when accessing kibana 4

simple question regarding kibana 4.
When you navigate to the kibana page, by default it queries "*" for the last 15 minutes in a certain index.
Is there a way to disable this automatic search? I checked the advanced settings but didn't see anything obvious.
Thanks
You may want to set kibana.defaultAppId in de kibana.yml file to "settings". This opens the settings-page at startup, so no query gets executed.
You can disable discover:searchOnPageLoad in advanced settings.

Resources