Code Monkey home page Code Monkey logo

sqlaudit's Issues

Dashboard 显示相关时间段内统计的可视化内容报400错误

此错误有俩种方法解决:
1.在es.go文件QueryInfo函数中此段代码
esquery.TermsAgg("group_by_db", "db"),
esquery.TermsAgg("group_by_type", "type"),
esquery.TermsAgg("group_by_op", "op"),
esquery.TermsAgg("group_by_src", "src"),
esquery.TermsAgg("group_by_user", "user"),
esquery.TermsAgg("group_op_interval", "op")
改为;
esquery.TermsAgg("group_by_db", "db.keyword"),
esquery.TermsAgg("group_by_type", "type"),
esquery.TermsAgg("group_by_op", "op.keyword"),
esquery.TermsAgg("group_by_src", "src.keyword"),
esquery.TermsAgg("group_by_user", "user.keyword"),

具体原因请看

docker无法运行

image

docker pull chengfangang/sqlaudit docker run -d \ --name sqlaudit \ -p 9696:9696 \ -p 9797:9797 \ -p 9898:9898 \ -v /docker/sqlaudit/etc:/opt/sqlaudit/etc \ -v /docker/sqlaudit/db:/opt/sqlaudit/db \ chengfangang/sqlaudit
使用上面的命令后显示找不到配置文件,
使用Dockerfile编译后也无法运行
配置文件在./etc即当前编译目录的子目录etc下

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.