question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Upgrade to 0.2.0 no events in Elastic

See original GitHub issue

After upgrading from 0.1.3 to 0.2.0 I needed to update the configuration as follows:

My version 0.1.3 config:

elastic:
    url: SOME_URL
    publish_frequency: 2
    only_publish_changed: true
    rollover_max_age: 1d
    exclude:
      entities: [ 'sensor.es_publish_queue' ]
      domains: [ 'sun' ]

My version 0.2.0 config:

elastic:
    # URL should point to your Elasticsearch cluster
    url: SOME_URL
    publish_frequency: 2
    only_publish_changed: true
    ilm_max_size: 10gb
    ilm_delete_after: 30d
    exclude:
      entities: [ 'sensor.es_publish_queue' ]
      domains: [ 'sun' ]

Home Assistant restarted without issues with the above change, however I am not getting any events (visible) in Kibana (Elasticsearch). Is there an upgrade step I missed? Here are my current indexes:

image

Events stopped after 21:18:

image

Does something need to be updated on the Elasticsearch side?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
legregocommented, Mar 22, 2020

Hey all,

Sorry for the delayed response, and that you’re having issues with the latest version. I’ll work on reproducing this and getting a fix out as time permits

0reactions
legregocommented, Mar 22, 2020

I’ve published v0.2.1 to address this. Before upgrading, ensure that you’ve remove any hass-events-v4* indices and templates, as they were created with invalid settings.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Upgrade Elastic Security - Elastic
To upgrade from 7.16.0 or earlier to 8.7.0, you must first upgrade to 7.17, which enables you to use the Upgrade Assistant to...
Read more >
Deprecated feature use in 7.x index fails upgrade to 8 ... - GitHub
as hotfix, I opened the _state (in my case /var/lib/elasticsearch/_state ) in luke and deleted the broken indices. Make sure to use 9.0.0's...
Read more >
Upgrading Elastic Stack from 6.8 to 7.x - Wazuh documentation
Logstash is no longer required, and Filebeat will send the events directly to Elasticsearch. In addition, Elasticsearch 7.x has Java embedded, so unless...
Read more >
elastic-event-js - npm
Event logging using ElasticSearch. Latest version: 0.2.0, last published: 6 years ago. Start using elastic-event-js in your project by ...
Read more >
Oracle Critical Patch Update Advisory - October 2022
Oracle therefore strongly recommends that customers remain on actively-supported versions and apply Critical Patch Update security patches without delay.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found