All Projects → GopherJ → ElsQuery

GopherJ / ElsQuery

Licence: MIT License
Vue Elastic Search Query Builder

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to ElsQuery

ether-to-elasticsearch
Dump etherum stats into elastic search
Stars: ✭ 31 (+14.81%)
Mutual labels:  kibana
TIL
Today I Learned
Stars: ✭ 43 (+59.26%)
Mutual labels:  kibana
stimulus-turbolinks
Stimulus + Vue.js + Turbolinks test Rails app
Stars: ✭ 33 (+22.22%)
Mutual labels:  buefy
seahorse
ELKFH - Elastic, Logstash, Kibana, Filebeat and Honeypot (HTTP, HTTPS, SSH, RDP, VNC, Redis, MySQL, MONGO, SMB, LDAP)
Stars: ✭ 31 (+14.81%)
Mutual labels:  kibana
elk-stack
ELK Stack (Elasticsearch, Logstash & Kibana)
Stars: ✭ 13 (-51.85%)
Mutual labels:  kibana
WAZUH-OSSEC
WAZUH - The Open Source Security Platform Installation
Stars: ✭ 79 (+192.59%)
Mutual labels:  kibana
stagemonitor-kibana
Kibana-Plugin for stagemonitor trace visualization
Stars: ✭ 13 (-51.85%)
Mutual labels:  kibana
admin-one-nuxt
Admin One Nuxt - Nuxt.js Bulma Buefy admin dashboard
Stars: ✭ 23 (-14.81%)
Mutual labels:  buefy
logCollect
日志收集解决方案,动态管理、轻量级日志收集客户端
Stars: ✭ 24 (-11.11%)
Mutual labels:  kibana
zeek2es
A Python application to filter and transfer Zeek logs to Elastic/OpenSearch. This app can also output pure JSON logs to stdout for further processing!
Stars: ✭ 16 (-40.74%)
Mutual labels:  kibana
theme-bulma
🎈 Customization of Oruga components with Bulma CSS framework
Stars: ✭ 88 (+225.93%)
Mutual labels:  buefy
icingabeat
Elastic Beat fetching events & status from Icinga 2
Stars: ✭ 36 (+33.33%)
Mutual labels:  kibana
microservice-elk
Creating microservice using Spring Boot, Eureka, Zuul, Sleuth, Zipkin and ELK Stack
Stars: ✭ 19 (-29.63%)
Mutual labels:  kibana
kibana-keycloak
Secure kibana dashboards using keycloak
Stars: ✭ 40 (+48.15%)
Mutual labels:  kibana
vue-monthly-picker
VueJS Monthly Picker component
Stars: ✭ 63 (+133.33%)
Mutual labels:  buefy
PALallax
PALallax is a Paloalto Next Generation Firewall Log Collector
Stars: ✭ 13 (-51.85%)
Mutual labels:  kibana
clinical nlp elastic
Clinical NLP Analysis with Elasticsearch and Kibana
Stars: ✭ 32 (+18.52%)
Mutual labels:  kibana
ax
A CLI tool to query structured logs, including Kibana, Cloudwatch, Stackdriver, Docker and plain JSON file logs.
Stars: ✭ 51 (+88.89%)
Mutual labels:  kibana
tsharkVM
tshark + ELK analytics virtual machine
Stars: ✭ 51 (+88.89%)
Mutual labels:  kibana
fluentd-elastic-kibana
Working inital configuration for fluentd elastic and kibana
Stars: ✭ 40 (+48.15%)
Mutual labels:  kibana

ElsQuery

Elastic Search Query Builder Of Vuejs which is Like Kibana Query Builder. See also :

Demo

Environment

  • vue 2.5.13
  • buefy 0.6.6

Installation

npm i -S els-query

Usage

main.js

import Vue from 'vue';
import Vuex from 'vuex';
import ElsQuery from 'els-query';
import Buefy from 'buefy';
import 'buefy/lib/buefy.min.css';

Vue.use(Vuex);
Vue.use(Buefy);

const store = new Vuex.Store();

Vue.use(ElsQuery, {
  store
});

index.html

<link rel="stylesheet" href="//cdn.materialdesignicons.com/2.0.46/css/materialdesignicons.min.css">

template

<els-query @change="(query) => yourMethod(query)" :update-interval="10000"></els-query>

Features

  • Filters

    • ADD
    • EDIT
    • DELETE
    • DISABLE, ENABLE
  • TimeRange

    • QUICK
    • ABSOLUTE
  • QueryString

    • WILDCARD
  • AutoRefresh

Options

  • Props
key description type default
label label of panel String ElsQuery
filterFactors factors of elastic search Array []
filterFields fields of _source Array [{ key: "duration", value: "duration" },{ key: "user_id", value: "user.udid" },{ key: "user_tags", value: "user.tags" },{ key: "user_name", value: "user.name" },{ key: "device_model", value: "user.device_info.model" },{ key: "device_system", value: "user.device_info.system_name" },{ key: "device_system_api", value: "user.device_info.system_api_id" },{ key: "device_system_build", value: "user.device_info.system_build_number" },{ key: "device_system_version", value: "user.device_info.system_version" },{ key: "zone_id", value: "zone.id" },{ key: "zone_name", value: "zone.name" },{ key: "zone_tags", value: "zone.tags" },{ key: "event_title", value: "event.title" },{ key: "event_type", value: "event.type" },{ key: "event_style", value: "event.style" }]
updateInterval auto refresh interval Number 1000
  • Events
name description arguments
change query has changed, perhaps caused by filters, queryString, dateTimeStart, dateTimeEnd (query)

Example

{
  "query": {
    "bool": {
      "must": [
        {
          "range": {
            "timestamp": {
              "gte": 1522739455974,
              "lte": 1522740355974,
              "format": "epoch_millis"
            }
          }
        },
        {
          "range": {
            "duration": {
              "gte": "asa"
            }
          }
        },
        {
          "bool": {
            "should": [
              {
                "match_phrase": {
                  "zone.id": "sas"
                }
              }
            ],
            "minimum_should_match": 1
          }
        }
      ],
      "must_not": [

      ]
    }
  }
}

Store

state

// TimeRange module
this.$store.state.TimeRange.dateTimeStart;
this.$store.state.TimeRange.dateTimeEnd;

// ElsQuery module
this.$store.state.ElsQuery.query;

getters

// recommend to deep clone this query so that you won't change the internal query
this.$store.getters['ElsQuery/GET_QUERY'];

mutations

this.$store.commit('TimeRange/EDIT_DATE_TIME_START', new Date());
this.$store.commit('TimeRange/EDIT_DATE_TIME_END', new Date());

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].