<commit_before>jmxtrans-agent-elasticsearch
============================
```xml
<jmxtrans-agent>
    <queries>
        <query objectName="java.lang:type=OperatingSystem" attribute="SystemLoadAverage" resultAlias="os.systemLoadAverage"/>
        <query objectName="java.lang:type=OperatingSystem" attribute="FreePhysicalMemorySize" resultAlias="os.freePhysicalMemorySize"/>
        <query objectName="java.lang:type=OperatingSystem" attribute="FreeSwapSpaceSize" resultAlias="os.freeSwapSpaceSize"/>
        <query objectName="java.lang:type=OperatingSystem" attribute="OpenFileDescriptorCount" resultAlias="os.openFileDescriptorCount"/>

        <query objectName="java.lang:type=Memory" attribute="HeapMemoryUsage" key="used" resultAlias="jvm.heapMemoryUsage.used"/>
        <query objectName="java.lang:type=Memory" attribute="HeapMemoryUsage" key="committed" resultAlias="jvm.heapMemoryUsage.committed"/>
        <query objectName="java.lang:type=Memory" attribute="NonHeapMemoryUsage" key="used" resultAlias="jvm.nonHeapMemoryUsage.used"/>
        <query objectName="java.lang:type=Memory" attribute="NonHeapMemoryUsage" key="committed" resultAlias="jvm.nonHeapMemoryUsage.committed"/>

        <query objectName="java.lang:type=ClassLoading" attribute="LoadedClassCount" resultAlias="jvm.loadedClasses"/>

        <query objectName="java.lang:type=Threading" attribute="ThreadCount" resultAlias="jvm.threadCount"/>
        <query objectName="java.lang:type=Threading" attribute="DaemonThreadCount" resultAlias="jvm.daemonThreadCount"/>
        <query objectName="java.lang:type=Threading" attribute="TotalStartedThreadCount" resultAlias="jvm.totalStartedThreadCount"/>
        <query objectName="java.lang:type=Threading" attribute="PeakThreadCount" resultAlias="jvm.peakThreadCount"/>
    </queries>
    <outputWriter class="org.jmxtrans.agent.ElasticSearchOutputWriter">
        <elasticsearchHost>localhost</elasticsearchHost>
        <elasticsearchPort>9200</elasticsearchPort>
        <elasticsearchClusterName>elasticsearch</elasticsearchClusterName>
        <elasticsearchIndex>jmxtrans-%{yyyy.MM.dd}</elasticsearchIndex>
        <nodeName>nodeName</nodeName><!--empty by default-->
        <usePrefixAsType>true</usePrefixAsType>
    </outputWriter>
    <collectIntervalInSeconds>20</collectIntervalInSeconds>
</jmxtrans-agent>
```
<commit_msg>README.md updated<commit_after>jmxtrans-agent-elasticsearch
============================
```xml
<jmxtrans-agent>
    <queries>
        <query objectName="java.lang:type=OperatingSystem" attribute="SystemLoadAverage" resultAlias="os.systemLoadAverage"/>
        <query objectName="java.lang:type=OperatingSystem" attribute="FreePhysicalMemorySize" resultAlias="os.freePhysicalMemorySize"/>
        <query objectName="java.lang:type=OperatingSystem" attribute="FreeSwapSpaceSize" resultAlias="os.freeSwapSpaceSize"/>
        <query objectName="java.lang:type=OperatingSystem" attribute="OpenFileDescriptorCount" resultAlias="os.openFileDescriptorCount"/>

        <query objectName="java.lang:type=Memory" attribute="HeapMemoryUsage" key="used" resultAlias="jvm.heapMemoryUsage.used"/>
        <query objectName="java.lang:type=Memory" attribute="HeapMemoryUsage" key="committed" resultAlias="jvm.heapMemoryUsage.committed"/>
        <query objectName="java.lang:type=Memory" attribute="NonHeapMemoryUsage" key="used" resultAlias="jvm.nonHeapMemoryUsage.used"/>
        <query objectName="java.lang:type=Memory" attribute="NonHeapMemoryUsage" key="committed" resultAlias="jvm.nonHeapMemoryUsage.committed"/>

        <query objectName="java.lang:type=ClassLoading" attribute="LoadedClassCount" resultAlias="jvm.loadedClasses"/>

        <query objectName="java.lang:type=Threading" attribute="ThreadCount" resultAlias="jvm.threadCount"/>
        <query objectName="java.lang:type=Threading" attribute="DaemonThreadCount" resultAlias="jvm.daemonThreadCount"/>
        <query objectName="java.lang:type=Threading" attribute="TotalStartedThreadCount" resultAlias="jvm.totalStartedThreadCount"/>
        <query objectName="java.lang:type=Threading" attribute="PeakThreadCount" resultAlias="jvm.peakThreadCount"/>
    </queries>
    <outputWriter class="org.jmxtrans.agent.ElasticSearchOutputWriter">
        <elasticsearchHost>localhost</elasticsearchHost>
        <elasticsearchPort>9300</elasticsearchPort>
        <elasticsearchClusterName>elasticsearch</elasticsearchClusterName>
        <elasticsearchIndex>jmxtrans-%{yyyy.MM.dd}</elasticsearchIndex>
        <nodeName>nodeName</nodeName><!--empty by default-->
        <usePrefixAsType>true</usePrefixAsType>
    </outputWriter>
    <collectIntervalInSeconds>20</collectIntervalInSeconds>
</jmxtrans-agent>
```

{'fraction_non_alphanumeric': 0.1417973717676982, 'fraction_numerical': 0.002543450614667232, 'mean_word_length': 6.384976525821596, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6041196', 'n_tokens_mistral': 1301, 'n_tokens_neox': 1312, 'n_words': 149}