photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

249
active users

#elasticsearch

0 posts0 participants0 posts today

One for the #Elastic / #Elasticsearch folks out there. Elastic are offering their on-demand training for free at the moment which I've just discovered also includes access to their labs. The training is pretty solid (I've done a few paid ones in the past) but the lab access makes it super valuable. I am working through one of the certs now (I need to complete a cert to renew two of my current ones) but it might be useful for other #tech folks out there

Elasticsearch Engineer - elastic.co/training/elasticsea
Data Analysis with Kibana - elastic.co/training/data-analy
Elastic Observability Engineer - elastic.co/training/elastic-ob
Elastic Security for SIEM - elastic.co/training/elastic-se

www.elastic.coElasticsearch EngineerFor a limited time only, On Demand is available at no cost. Three month promotion ending July 31, 2025. This course is designed for both new Elasticsearch users and Elasticsearch professionals. It beg...

Man, ElasticSearch code can get very complex very quickly. I’ve a search query, that also returns filter facets, and on top of that values that are valid for each facet, as aggregations. I’m now trying to re-use just the aggregations part and with all the post processing we apply to tweak the display order of face values… eek.

Reading @joannastern article about giving up google for a chat bot, i have pretty much done exactly this.

I use google when I need to get an overview of something specific that I know nothing about (what exactly does #ElasticSearch do?).

When i already know what the answer looks like (how do you add a relationship in #Neofj using #ython?) I always use a chatbot.

When i get a giant stack trace, i drop that right into a chatbot.

wsj.com/tech/personal-tech/goo

#getFedihired - Know #MongoDB and/or #ElasticSearch and/or GNU/Linux #sysadm ? Expecially if you know #Ansible and/or #python and #shell scripting

A couple US or India #WFH positions opening up for 24/7 support ( includes #weekend and #holiday shifts )

US roles are US daytimes, India roles are the other 16 hours of day

DM me if you're interested ( job listings coming soon )

We should also have some SRE and dev positions and a MongoDB DBA position soon

Continued thread

Also, doesn't help that I'm getting fairly quickly productive with its #logsQL. I more than familiar with #Loki and #ElasticSearch for these things, but #victorialogs really does feel a bit easy to understand how to query and filter.

Though once I have like a month with it, I will likely find the short cases that breaks this love and question why not use SQL. 😝

I been messing around trying self hosted options for logs. Mostly to scratch an itch, but also to know what is available in the market.

#openObserve is nice, but feels pretty clunky for what I want. Found this thing called #seq, which is kind of brilliant. But right now, I've settled with #victorialogs from #victoriametrics.

It can ingest #elasticsearch formatted logs. But you get the ease that #loki was trying to do. I have to say, I'm impressed. 😄

docs.victoriametrics.com/victo

docs.victoriametrics.comLogsQLDocumentation for VictoriaMetrics, VictoriaLogs, Operator, Managed VictoriaMetrics and vmanomaly
Continued thread

• Set ES_HOST=https://localhost in .env.production
• Set ES_CA_FILE=/path/to/selfsigned/cert

(b) I had to carefully set the maximum Java heap size, even though I thought I had plenty of RAM.

This last point confused me for sometime. I am running ES on the same VPS as my mastodon instance, which has 8GB RAM. So I I initial set -Xmx3g, but ES kept failing with exit code 137 (excessive memory consumption). I successively increased -Xmx to 4g, 5g, 6g, but with no luck.

After checking the logs, the heap size was not growing and the cap was being enforced properly.

Continued thread

For those interested, setting up #ElasticSearch was fairly straightforward. I mostly followed the official instructions at docs.joinmastodon.org/admin/el, with two minor modifications:

1. I installed OpenJDK 21 (latest version in the Ubuntu repository)
2. I installed ElasticSearch 8.

Two things tripped me up:

(a) ES v8 requires TLS by default, even when binding only to localhost. This means that:
• When using curl, you have to use --cacert to specify the path to the self-signed certificate generated by ES & prepend localhost with https://

docs.joinmastodon.orgConfiguring full-text search - Mastodon documentationSetting up Elasticsearch to search for statuses (authored, favourited, or mentioned), public indexable status, and accounts