Giter VIP home page Giter VIP logo

logstash-intellij-plugin's People

Contributors

fibsifan avatar ikorennoy avatar maosmurf avatar pgilad avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

logstash-intellij-plugin's Issues

Writing regex with dots

Hello

I found that typing a regex in an order or another does not show the same result, some will mark it as an error even when it's not. And if you copy, then paste the regex it is shown as correct syntax, example :

regex_syntax_check_example

I've typed the first part and then copied and pasted the second part.

Keep up the good work, this is a nice plugin.

Incompatible with latest Intellij IDE builds

Hi,
first of all, thank you for the plugin, it's awesome.
Secondly I am using IntelliJ IDEA 2023.2 and it says:

Plugin 'Logstash Config Files Support' (version '0.8.1') is not compatible with the current version of the IDE, because it requires build 223.* or older but the current build is IC-232.8660.185

Could you please add support for newer versions?

Thanks

Support for 2020.2 CE?

Just tried to add this to my PyCharm 2020.2 CE and found that it isn't yet supported. I'm hoping that's just a packaging issue and can be quickly updated.

Syntax error on empty arrays

Hello,

The plugin does not appear to support empty arrays [] and throw a syntax error. But the syntax is supported by logstash as we can see here it is a default value

filter {
    grok {
        tag_on_failure => []
        match => {"message" => "toto"}
    }
}

This is a valid syntax but this flagged as an error.

This is a great plugin, keep up the good work.

Unable to install into version 2021.3

Hello,
I'm unable to install the plugin into version 2021.3 (Cummunity Edition) :

IntelliJ IDEA 2021.3 (Community Edition)
Build #IC-213.5744.223, built on November 27, 2021
Runtime version: 11.0.13+7-b1751.19 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2020M
Cores: 16
Non-Bundled Plugins:
com.taff.plugin.orchide (2021.1.0.0-2019.3)

Kotlin: 213-1.5.10-release-949-IJ5744.223

Does the plugin will be avaiable for that version soon?

Thank you and best regards,
Yanick

Incompatibility with JetBrains 2021.2 tools

Plugin 'Logstash Config Files Support' (version '0.63-EAP') is not compatible with the current version of the IDE, because it requires build 211.* or older but the current build is IU-212.4746.92

I get a similar error in PyCharm.

Thank you for this great plugin. I hope you have time to support the new JetBrains tools.

Syntaxerror on REGEXPEQUAL

got syntaxerror on using REGEXPEQUAL as if-statement as shown in screenshot, but configuration works quite well in logstash...
Bildschirmfoto vom 2020-04-24 14-49-39

nice plugin btw !

Not displaying the matching parenthesis

I am using this filter in my IntelliJ Ultimate but it isn't match and display the matching parenthesis. I searched about the issue but no any references were found. It is grateful if you can provide me a solution for this.
Thanks.

not compatible with IntelliJ Ultimate 2020.1

Hi,

None of the latest versions seem to work with latest IntelliJ (I am using 2020.1 , Ultimate edition). I really find it super useful, I hope this can be fixed !

Thanks

--
Vincent

Multiple "else if" statements returns error in code analysis

Inside of my logstash configuration file's filter, I have multiple else-if statements to filter based on my input type.

if [type] == "1" {  
  //filter 1  
} else if [type] == "2" {  
  //filter 2  
} else if [type] == "3" {  
  //filter 1  
}  

The issue is that the code analysis returns an error right before else if [type] == "3" and gives the following message:
Logstash token type.IDENTIFIER, Logstash token type.else, Logstash token type.if or Logstash token type.} expected, got 'else'

If I switch all my else-ifs to just if statements then there are no issues so it's specific to the handling of the else-if statements

If else statements breaks formatting

image

Everything above the if/else statements gets aligned correctly. But after the if statement spaces are automatically removed. This issue might be related to #8.

Incompatible with latest Intellij IDE builds

Firstly, thank you for creating and maintaining this useful plugin!

Having updated my IDE to IntelliJ IDEA 2023.1, IntelliJ now refuses to load this plugin with the message:
"Incompatible: requires IDE build 223.* or earlier"

Would it be posssible to update the plugin to support the latest IntelliJ IDE?

Needs updating.

Plugin broke due to Pycharm update 2020.1. Please update to latest Pycharm release.

Comments on start of file causes unnecessary tab

If there is a comment in the start of the file (could be empty, or with any content), it causes an indent after it when reformatting code.

When the comment is removed the indent is removed.

This only happens when the comment is the first thing in the file.

Before reformatting:

image

After reformatting:

image

Reformatting after removing comment:

image

webstorm 2020.2.3
IntelliJ Logstash plugin 0.62-2020.2

Many thanks for this plugin. It's really helpful!

syntax error for field beginning with number

I have a field named [domain][1n2_name]

logstash config gives syntax error highlighting, I assume because of the number -- because if I change it to say [domain][one_name]then it works fine.

again, thank you for this plugin and the fix for the last issue I submitted.
Selection_001-1

Comments breaks file formatting

QQ截图20191225162333
Comment line will always get a intend.
Especially when comment on first line in file, which breaks whole file's formatting.
Thank you!

Allow field names that include -

According to https://www.elastic.co/guide/en/logstash/current/field-references-deepdive.html field names should be allowed to contain anything except square brackets, but the plugin complains if a field name contains a hyphen. For example:

if [http-element] in [ "rhead", "ihead" ] {

Gives the error: , Logstash token type.IDENTIFIER, Logstash token type.[, Logstash token type.if, Logstash token type.{ or Logstash token type.} expected, got '['

I couldn't see an obvious place to put a fix in the syntax files, and I'm only just starting to work with Logstash configs, so I'm not sure whether hyphens are generally discouraged in field names anyway.

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.