This file is indexed.

/etc/aminer/conf-available/generic/TomcatParsingModel.py is in logdata-anomaly-miner 0.0.7-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
from aminer.parsing import AnyByteDataModelElement
from aminer.parsing import DecimalIntegerValueModelElement
from aminer.parsing import FirstMatchModelElement
from aminer.parsing import FixedDataModelElement
from aminer.parsing import SequenceModelElement

def getModel():
  typeChildren=[]
  typeChildren.append(FixedDataModelElement('start', ' * Starting Tomcat servlet engine tomcat7'))
  typeChildren.append(FixedDataModelElement('stop', ' * Stopping Tomcat servlet engine tomcat7'))
  typeChildren.append(FixedDataModelElement('done', '   ...done.'))

  typeChildren.append(AnyByteDataModelElement('unparsed'))

  model=SequenceModelElement('tomcat7', [
      FixedDataModelElement('sname', 'tomcat7['),
      DecimalIntegerValueModelElement('pid'),
      FixedDataModelElement('s0', ']: '),
      FirstMatchModelElement('msg', typeChildren)])
  return(model)