<sampler name="FormatJSONdata-Extractor">
    <plugin>
        <extractor>
            <source>
                <sourceFileName>
                    <name>
                        <data>/var/www/html/yourFile.json</data>
                    </name>
                </sourceFileName>
            </source>
            <views>
                <view>
                    <name>
                        <data>Test123</data>
                    </name>
                    <template>
                        <custom>
                            <format>
                                <json>
                                    <method>
                                        <xpath>
                                            <xpath></xpath>
                                            <headlines>
                                                <headline>
                                                    <name>
                                                        <static>
                                                            <data>Headline1</data>
                                                        </static>
                                                    </name>
                                                    <value>
                                                        <static>
                                                            <data></data>
                                                        </static>
                                                    </value>
                                                </headline>
                                                <headline>
                                                    <name>
                                                        <static>
                                                            <data>Headline2</data>
                                                        </static>
                                                    </name>
                                                    <value>
                                                        <static>
                                                            <data></data>
                                                        </static>
                                                    </value>
                                                </headline>
                                            </headlines>
                                            <columns>
                                                <column>
                                                    <name>
                                                        <static>
                                                            <data>Host</data>
                                                        </static>
                                                    </name>
                                                </column>
                                                <column>
                                                    <name>
                                                        <static>
                                                            <data>AlertID</data>
                                                        </static>
                                                    </name>
                                                </column>
                                            </columns>
                                            <rows>
                                                <xpath>/array/object/MON</xpath>
                                                <row>
                                                    <name></name>
                                                    <cells>
                                                        <cell>
                                                            <xpath></xpath>
                                                            <value>
                                                                <xpath>
                                                                    <xpath>Host</xpath>
                                                                </xpath>
                                                            </value>
                                                        </cell>
                                                        <cell>
                                                            <value>
                                                                <xpath>
                                                                    <xpath>AlertID</xpath>
                                                                </xpath>
                                                            </value>
                                                        </cell>
                                                    </cells>
                                                </row>
                                            </rows>
                                        </xpath>
                                    </method>
                                </json>
                            </format>
                        </custom>
                    </template>
                </view>
            </views>
        </extractor>
    </plugin>
    <debug>
        <setting>showmenu</setting>
    </debug>
</sampler>