splparser icon indicating copy to clipboard operation
splparser copied to clipboard

Simple parser for Splunk Processing Language (SPL) written in Python.

Results 17 splparser issues
Sort by recently updated
recently updated
newest added

Steps to Reproduce: ``` import splparser.parser EVAL xrefs = mvjoin(mvzip('plugin.xrefs{}.type', 'plugin.xrefs{}.id', " #"), ",") ```

Found this on PyPI, saw that pull requests were welcome but no link to GitHub was provided. Trivial patch to add a link. - Add URL for GitHub code -...

- used Sara's startup example - augmented with writeJson method - added cmd args and usage for user customization

When the parsetabs are created you might notice warnings like: WARNING: 53 shift/reduce conflicts WARNING: Token 'OUTPUTNEW' defined, but not used WARNING: Token 'ASUC' defined, but not used WARNING: Token...

eg. 'tstats max(time) FROM datamodel=Web' even this simple one.

eg. search `set_sos_index` host="SPLUNK1.EDM.LOCAL" sourcetype="lsof"\n | head 1\n | multikv \n | `get_splunk_process_type_lsof`

eg: |history | head 2000 | search event_count>0 OR result_count>0 | dedup search | table search