This page lists several frequently asked questions on Humio and related software. They include questions you might have before deciding to use Humio. There are some questions on how to install and migrate to Humio, as well as how to get assistance and learn about Humio.
We have customers that use our cloud solution, self-hosted solutions, and hybrids of both options. Consider what works best for your application and organization — we are happy to help you find the configuration to best suit your needs.
Moving to Humio is easy! We have several common integrations to bring your logs into Humio and we even have a guide on moving from Elastic Stack to Humio — it’s as easy as following a few steps to getting your logs flowing.
Humio was built with containerization in mind! With integrations and existing setup for Kubernetes, Humio is a solution focused on modern deployment solutions.
The browser sends its timezone to the server and that determines cutoff for say timechart(span=1day)
. The timezone is not embedded in the URL, so if a query is shared across timezones the day cutoff will differ.
The bucket()
and timechart()
functions lets you specify an explicit timezone (timechart(..., timezone=Z)
). This will overrule the timezone of the browser. Note, that the x-axis of time charts is still shown in local time.
Yes, through our GraphQL API (you need to be a root user). Below is a curl example to get you going.
Example:
HUMIO_BASE_URL=<example: https://example.com>
API_TOKEN=<you can find this in your account details>
LICENSE=<your license string>
curl ${HUMIO_BASE_URL}/graphql \
-H "Authorization: Bearer ${API_TOKEN}" \
-H "Content-type: application/json" \
-d @- << EOF
{"query":"mutation {updateLicenseKey(license: \"${LICENSE}\") {__typename}}"}
EOF
Humio runs on either or both IP versions, depending on what you specify using HUMIO_JVM_ARGS
. By default the process binds on both IPv4 and IPv6.
If you use the Docker images provided by Humio for Kafka and Zookeeper, or run the “humio/humio” image that includes both of them, you need to make sure those processes also get the same options regarding IP protocol as the Humio process.
IPv4 Only:
HUMIO_JVM_ARGS=-Djava.net.preferIPv4Stack=true
KAFKA_OPTS=-Djava.net.preferIPv4Stack=true
ZOOKEEPER_OPTS=-Djava.net.preferIPv4Stack=true
IPv6 Only:
HUMIO_JVM_ARGS=-Djava.net.preferIPv6Addresses=true
KAFKA_OPTS=-Djava.net.preferIPv6Addresses=true
ZOOKEEPER_OPTS=-Djava.net.preferIPv6Addresses=true
In Humio you can detect when a host or some other log source stops
sending logs using the now()
function and groupby
:
groupby(host, function=max(@timestamp, as=@timestamp))
| missing:=(now()-@timestamp)>(5*60*1000)
| missing=true
The above query shows a line for each host that we have not heard from in the last 5 minutes (timestamps in Humio are in milliseconds). You should run the query as a live search in a time interval that is longer than your “missing” threshold — when the last log from a log source is older than your search time interval, the log source will disappear from the result.
While this list is not exhaustive, Humio recommends Beats, Logstash, or Rsyslog for shipping your logs.
No. Syslog data is sent to humio using ingest listeners, which are not supported by Humio Cloud.
Yes! Humio does support receiving events with multiple lines. What Humio does not support is correlating multiple events into a single multiline event, which means that it is up to the log shipper to detect wether an event spans across multiple lines.
Filebeat has support for detecting multiline events.
“Repository” is the new term. What used to be a “dataspace” in Humio is now a Repository.
The HTTP API includes the path /api/v1/dataspaces/$REPOSITORY_NAME/
to be compatible with existing clients. In this context, the $REPOSITORY_NAME
variable is the name of the repository. (It used to be the name of the dataspace).
Humio integrates with several common notification methods including email, Slack, and external services like OpsGenie. See the Incident Management documentation page. If you need Humio to work with your particular notification system, please contact our support team.